pez-infra/ansible/services/promtail/config/london-b.yml
Rasmus Wejlgaard 9d4e264a5b fix: resolve yamllint errors in london-b host_vars and promtail config
- Remove trailing blank line in inventory/host_vars/london-b.yml
- Add missing document start marker to promtail config
- Fix indentation in promtail scrape_configs (indent list items under key)
2026-03-29 20:08:16 +00:00

32 lines
722 B
YAML

---
server:
http_listen_port: 9080
grpc_listen_port: 0
positions:
filename: /tmp/positions.yaml
clients:
- url: http://192.168.1.254:3100/loki/api/v1/push
scrape_configs:
- job_name: london-b
static_configs:
- targets:
- localhost
labels:
job: varlogs
instance: london-b
__path__: /var/log/*log
- targets:
- localhost
labels:
job: plex
instance: london-b
__path__: /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Logs/*log
- targets:
- localhost
labels:
job: jellyfin
instance: london-b
__path__: /var/log/jellyfin/*log