Skip to content

Commit f6f78f6

Browse files
committed
grafana
1 parent 1834161 commit f6f78f6

9 files changed

Lines changed: 1214 additions & 131 deletions

File tree

docker-compose.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,15 @@ services:
7272
condition: service_started
7373
restart: unless-stopped
7474

75+
nginx-exporter:
76+
image: nginx/nginx-prometheus-exporter:latest
77+
command:
78+
- '-nginx.scrape-uri=http://nginx/stub_status' # Nécessite d'activer stub_status dans nginx.conf
79+
ports:
80+
- "9113:9113"
81+
depends_on:
82+
- nginx
83+
7584
prometheus:
7685
image: prom/prometheus:latest
7786
volumes:

0 commit comments

Comments
 (0)