From 9673c5223b0068056751f82051597860ec4e49ab Mon Sep 17 00:00:00 2001 From: cventastic Date: Thu, 17 Mar 2022 13:20:02 +0100 Subject: [PATCH] add metrics autodiscovery for harmony --- harmony.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/harmony.yml b/harmony.yml index bc7f1417..fff0ca78 100644 --- a/harmony.yml +++ b/harmony.yml @@ -35,6 +35,9 @@ services: - "traefik.http.routers.harmony-mainnet.tls.certresolver=myresolver" - "traefik.http.routers.harmony-mainnet.rule=Host(`$DOMAIN`) && PathPrefix(`/harmony`)" - "traefik.http.routers.harmony-mainnet.middlewares=harmony-mainnet-stripprefix, ipwhitelist" + - "prometheus-scrape.enabled=true" + - "prometheus-scrape.port=9900" + - "prometheus-scrape.job_name=harmony-mainnet" volumes: harmony: \ No newline at end of file