infrastructure/promtail-config.yml
2026-03-28 09:44:06 +03:00

19 lines
371 B
YAML

server:
http_listen_port: 9080
grpc_listen_port: 0
positions:
filename: /tmp/positions.yaml
clients:
- url: http://loki:3100/loki/api/v1/push
scrape_configs:
- job_name: auth-logs
static_configs:
- targets: [localhost]
labels:
job: auth
service: auth-service
__path__: /var/log/services/auth/*.log