Refresh repository to match reality (Part1)
This commit is contained in:
25
monitoring/config/promtail_config.yaml
Normal file
25
monitoring/config/promtail_config.yaml
Normal file
@@ -0,0 +1,25 @@
|
||||
server:
|
||||
http_listen_port: 9080
|
||||
grpc_listen_port: 0
|
||||
|
||||
positions:
|
||||
filename: /data/logs/positions.yaml
|
||||
|
||||
clients:
|
||||
- url: http://loki:3100/loki/api/v1/push
|
||||
|
||||
scrape_configs:
|
||||
- job_name: system
|
||||
static_configs:
|
||||
- targets:
|
||||
- localhost
|
||||
labels:
|
||||
job: varlogs
|
||||
__path__: /var/log/*.log
|
||||
- job_name: traefik
|
||||
static_configs:
|
||||
- targets:
|
||||
- traefik
|
||||
labels:
|
||||
job: traefik
|
||||
__path__: /data/logs/traefik/*.log
|
||||
Reference in New Issue
Block a user