fix: make prometheus base url configurable

This commit is contained in:
sam 2025-04-11 14:58:21 +02:00
parent a4a6fb5d31
commit 9f3dfc74d6
Signed by: sam
GPG key ID: 5F3C3C1B3166639D
3 changed files with 7 additions and 2 deletions

View file

@ -7,6 +7,9 @@ LogQueries = false
SeqLogUrl = http://localhost:5341
# Whether to enable Prometheus metrics. If disabled, Catalogger will update metrics manually every so often.
EnableMetrics = false
# The URL for the Prometheus server. Used for message rate if metrics are enabled.
# Defaults to http://localhost:9090, should be changed if Prometheus is on another server.
PrometheusUrl = http://localhost:9090
[Database]
Url = Host=localhost;Database=postgres;Username=postgres;Password=postgres