mirror of
https://github.com/idanoo/autobrr
synced 2025-07-22 16:29:12 +00:00
feat(metrics): add metrics server (#1930)
* feat(metrics): add metrics server * chore: update license headers * feat(metrics): add optional basic auth * feat(metrics): add go and process collectors --------- Co-authored-by: ze0s <43699394+zze0s@users.noreply.github.com> Co-authored-by: ze0s <ze0s@riseup.net>
This commit is contained in:
parent
0d5902c8f6
commit
3f8bc0140c
16 changed files with 1191 additions and 83 deletions
20
config.toml
20
config.toml
|
@ -86,6 +86,26 @@ sessionSecret = "secret-session-key"
|
|||
# OIDC Redirect URL (e.g. http://localhost:7474/api/auth/oidc/callback)
|
||||
#oidc_redirect_url = ""
|
||||
|
||||
# Metrics
|
||||
#
|
||||
# Enable metrics endpoint
|
||||
#metricsEnabled = true
|
||||
|
||||
# Metrics server host
|
||||
#
|
||||
# metricsHost = "127.0.0.1"
|
||||
|
||||
# Metrics server port
|
||||
#
|
||||
# metricsPort = "9074"
|
||||
|
||||
# Metrics basic auth
|
||||
#
|
||||
# Comma separate list of user:password. Password must be htpasswd bcrypt hashed. Use autobrrctl to generate.
|
||||
# Only enabled if correctly set with user:pass.
|
||||
#
|
||||
#metricsBasicAuthUsers = ""
|
||||
|
||||
# Custom definitions
|
||||
#
|
||||
#customDefinitions = "test/definitions"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue