mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 08:49:13 +00:00
feat(diagnostics): add pprof profiling (#1627)
* feat(tracing): enable tracing * of course the squash didn't work. * gah. always nice when there's 40 csets. * might as well. * refactor: tracing to diagnostics * feat: add note about the magic methods from pprof --------- Co-authored-by: ze0s <ze0s@riseup.net>
This commit is contained in:
parent
5ae4ed3604
commit
65d25c56c9
4 changed files with 63 additions and 0 deletions
|
@ -24,6 +24,9 @@ type Config struct {
|
|||
PostgresPass string `toml:"postgresPass"`
|
||||
PostgresSSLMode string `toml:"postgresSSLMode"`
|
||||
PostgresExtraParams string `toml:"postgresExtraParams"`
|
||||
ProfilingEnabled bool `toml:"profiling"`
|
||||
ProfilingHost string `toml:"profilingHost"`
|
||||
ProfilingPort int `toml:"profilingPort"`
|
||||
}
|
||||
|
||||
type ConfigUpdate struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue