This repository has been archived on 2023-04-26. You can view files and clone it, but cannot push or open issues or pull requests.
max/roles/prometheus/templates/prometheus.yml.j2
Pim Kunis 9cc5fba042 add prometheus
don't publish traefik api
2023-02-07 22:54:07 +01:00

14 lines
294 B
Django/Jinja

global:
scrape_interval: 15s
scrape_configs:
- job_name: 'prometheus'
scrape_interval: 5s
static_configs:
- targets: ['localhost:9090']
- job_name: 'traefik'
scrape_interval: 5s
static_configs:
- targets: ['host.docker.internal:{{ traefik_api_port }}']