Added adguard prometheus exporter + prometheus config
This commit is contained in:
10
adguard-prometheus-exporter/docker-compose.yml
Normal file
10
adguard-prometheus-exporter/docker-compose.yml
Normal 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
|
||||
@@ -2,6 +2,11 @@ global:
|
||||
scrape_interval: 15s
|
||||
|
||||
scrape_configs:
|
||||
- job_name: 'adguard'
|
||||
static_configs:
|
||||
- targets: ['10.0.0.1:9618']
|
||||
metrics_path: /metrics
|
||||
scheme: http
|
||||
- job_name: 'caddy'
|
||||
static_configs:
|
||||
- targets: ['mycloudhaus.xyz']
|
||||
|
||||
Reference in New Issue
Block a user