Added adguard prometheus exporter + prometheus config

This commit is contained in:
2026-01-17 14:33:49 +02:00
parent 80ec447da2
commit 4bd910f002
2 changed files with 15 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
name: prometheus-adguard-exporter
services:
prometheus-adguard-exporter:
environment:
- ADGUARD_SERVERS=http://10.0.0.1:8053
- ADGUARD_USERNAMES=${USERNAME}
- ADGUARD_PASSWORDS=${PASSWORD}
image: ghcr.io/henrywhitaker3/adguard-exporter:latest
ports:
- 10.0.0.1:9618:9618

View File

@@ -2,6 +2,11 @@ global:
scrape_interval: 15s scrape_interval: 15s
scrape_configs: scrape_configs:
- job_name: 'adguard'
static_configs:
- targets: ['10.0.0.1:9618']
metrics_path: /metrics
scheme: http
- job_name: 'caddy' - job_name: 'caddy'
static_configs: static_configs:
- targets: ['mycloudhaus.xyz'] - targets: ['mycloudhaus.xyz']