mirror of
https://git.asonix.dog/asonix/pict-rs.git
synced 2024-11-28 04:21:12 +00:00
Add prometheus_address to pict-rs.toml
This commit is contained in:
parent
ce0df080f4
commit
e7141c0533
1 changed files with 9 additions and 0 deletions
|
@ -126,6 +126,15 @@ service_name = 'pict-rs'
|
|||
# Follows the same format as RUST_LOG
|
||||
targets = 'info'
|
||||
|
||||
[metrics]
|
||||
## Optional: enable a prometheus scrape endpoint for pict-rs
|
||||
# environment variable: PICTRS__METRICS__PROMETHEUS_ADDRESS
|
||||
# default: empty
|
||||
#
|
||||
# Setting this value enables pointing prometheus at pict-rs to receive metrics. It can also be
|
||||
# queried with curl.
|
||||
prometheus_address = "0.0.0.0:9000"
|
||||
|
||||
|
||||
## Configuration for migrating from pict-rs 0.2
|
||||
[old_db]
|
||||
|
|
Loading…
Reference in a new issue