sesame/promtail.yml

29 lines
512 B
YAML
Raw Normal View History

2024-06-12 03:17:41 +00:00
server:
http_listen_port: 9080
grpc_listen_port: 0
positions:
filename: /tmp/positions.yaml
# See spadinastan/panopticon
clients:
- url: http://host.containers.internal:3101/loki/api/v1/push
scrape_configs:
- job_name: caddy
static_configs:
- targets:
- localhost
labels:
job: caddy
__path__: /var/caddy-logs/*
agent: caddy-promtail
pipeline_stages:
- json:
expressions:
duration: duration
status: status
- labels:
duration:
status: