From 7f3824b5f99e0fdda0ec7ec2c4dc199462b94e4c Mon Sep 17 00:00:00 2001 From: cventastic Date: Thu, 17 Mar 2022 12:02:29 +0100 Subject: [PATCH] added avalanche metrics --- avalanche.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/avalanche.yml b/avalanche.yml index d95cfb35..1e677bf5 100644 --- a/avalanche.yml +++ b/avalanche.yml @@ -26,6 +26,10 @@ services: - "traefik.http.routers.avalanche.tls.certresolver=myresolver" - "traefik.http.routers.avalanche.rule=Host(`$DOMAIN`) && PathPrefix(`/avalanche`)" - "traefik.http.routers.avalanche.middlewares=avalanche-stripprefix, avalanche-replacepath, ipwhitelist" + - "prometheus-scrape.enabled=true" + - "prometheus-scrape.port=9650" + - "prometheus-scrape.job_name=avalanche" + - "prometheus-scrape.metrics_path=/ext/metrics" volumes: avalanche: \ No newline at end of file