add disabled docker/metrics setup

This commit is contained in:
oxmox 2023-09-11 20:10:39 +02:00
parent 03510f1241
commit a85644ee2e
2 changed files with 13 additions and 1 deletions

View file

@ -254,6 +254,8 @@ services:
- "traefik.http.routers.prometheus_app.tls.certresolver=myresolver"
- "traefik.http.routers.prometheus_app.middlewares=traefik_api_auth"
- "traefik.http.services.prometheus_app.loadbalancer.server.port=9090"
#extra_hosts:
# - "host.docker.internal:host-gateway"
grafana:
image: grafana/grafana

View file

@ -18,3 +18,13 @@ scrape_configs:
scrape_interval: 1m
static_configs:
- targets: ['loki-app:3100']
#- job_name: 'docker'
# scrape_interval: 1m
# static_configs:
# - targets: ['localhost:9323']
#
#- job_name: 'prometheus'
# scrape_interval: 1m
# static_configs:
# - targets: ['host.docker.internal:9090']