M45: authenticate Prometheus scraping
This commit is contained in:
+2
-1
@@ -31,7 +31,8 @@ OIDC_DEFAULT_ROLE=rental_employee
|
||||
# Observability: JSON logs are always enabled. Set a token only if /metrics is exposed
|
||||
# outside the private Compose network; Prometheus can send it as a bearer token.
|
||||
LOG_LEVEL=INFO
|
||||
METRICS_BEARER_TOKEN=
|
||||
# Required when the observability profile is enabled. Keep private and high entropy.
|
||||
METRICS_BEARER_TOKEN=replace-me-private-metrics-token
|
||||
GRAFANA_ADMIN_USER=admin
|
||||
GRAFANA_ADMIN_PASSWORD=change-me-before-start
|
||||
# Alertmanager sends every firing/resolved alert and the continuous watchdog to this
|
||||
|
||||
Reference in New Issue
Block a user