Switch to exporting metrics from pihole via hostname

This commit is contained in:
Joey Hafner 2022-07-17 10:42:37 -07:00
parent d9159ca6c8
commit 216bf5c45c

View File

@ -93,8 +93,8 @@ services:
networks: networks:
- monitoring - monitoring
environment: environment:
- PIHOLE_HOSTNAME=pihole.jafner.net - PIHOLE_HOSTNAME=pihole
- PIHOLE_PROTOCOL=https - PIHOLE_PROTOCOL=http
- INTERVAL=15s - INTERVAL=15s
- PORT=9617 # port on which the metrics should be available to be scraped by prometheus - PORT=9617 # port on which the metrics should be available to be scraped by prometheus
labels: labels: