Like Prometheus, but for logs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
loki/production/docker/config/prometheus.yaml

22 lines
422 B

global:
scrape_interval: 5s
scrape_configs:
- job_name: 'prometheus'
static_configs:
- targets:
- 'prometheus:9090'
- job_name: 'loki'
dns_sd_configs:
- names:
- loki-read
- loki-write
- loki-backend
type: A
port: 3100
- job_name: 'promtail'
dns_sd_configs:
- names:
- promtail
type: A
port: 9080