github.com/yankunsam/loki/v2@v2.6.3-0.20220817130409-389df5235c27/production/docker/config/prometheus.yaml (about) 1 global: 2 scrape_interval: 5s 3 4 scrape_configs: 5 - job_name: 'prometheus' 6 static_configs: 7 - targets: 8 - 'prometheus:9090' 9 - job_name: 'loki' 10 dns_sd_configs: 11 - names: 12 - loki-read 13 - loki-write 14 - loki-frontend 15 type: A 16 port: 3100 17 - job_name: 'promtail' 18 dns_sd_configs: 19 - names: 20 - promtail 21 type: A 22 port: 9080