mirror of
https://github.com/davestephens/ansible-nas
synced 2025-01-28 11:15:08 +00:00
21 lines
436 B
YAML
21 lines
436 B
YAML
---
|
|
server:
|
|
http_listen_port: 9080
|
|
grpc_listen_port: 0
|
|
|
|
positions:
|
|
filename: /data/positions.yml
|
|
|
|
clients:
|
|
- url: {{ promtail_loki_url }}
|
|
tenant_id: 1
|
|
|
|
scrape_configs:
|
|
- job_name: docker_scrape
|
|
docker_sd_configs:
|
|
- host: unix:///var/run/docker.sock
|
|
refresh_interval: 5s
|
|
relabel_configs:
|
|
- source_labels: ['__meta_docker_container_name']
|
|
regex: '/(.*)'
|
|
target_label: 'container'
|