Add the monitoring stack

This commit is contained in:
tanshu committed 2026-10-18 21:35:52 +05:30
1 parent 5e0a27b32b
commit 924f000e17
14 files changed
+376

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
server:
http_listen_port: "{{ promtail_port }}"
grpc_listen_port: 0
positions:
filename: /tmp/positions.yaml
clients:
- url: "http://loki:{{ loki_port }}/loki/api/v1/push"
scrape_configs:
- job_name: system
static_configs:
- targets:
- localhost
labels:
job: varlogs
__path__: /var/log/*log
- job_name: docker
static_configs:
- targets:
- localhost
labels:
job: docker
__path__: /var/lib/docker/containers/*/*.log