Add the monitoring stack
This commit is contained in:
1 parent
5e0a27b32b
commit
924f000e17
14 files changed
+376
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user