Files
DevServer/monitoring/promtail-config.yaml
Hardik Sankhla 2304c3ed12 Initial commit: Complete DevServer monitoring framework
- FastAPI application with OpenTelemetry instrumentation
- Redis caching and Celery task processing
- Docker Compose setup with monitoring stack
- Grafana dashboards and Prometheus metrics
- Jaeger distributed tracing
- Comprehensive documentation in docs/ folder
- Monitoring configuration and troubleshooting guides
2025-10-13 09:55:17 +05:30

44 lines
1.1 KiB
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: docker
docker_sd_configs:
- host: unix:///var/run/docker.sock
refresh_interval: 5s
relabel_configs:
- source_labels: ['__meta_docker_container_name']
regex: '/(.*)'
target_label: 'container'
- source_labels: ['__meta_docker_container_name']
regex: '/(.*)'
target_label: 'container_name'
- source_labels: ['__meta_docker_container_name']
regex: '/(.*)'
target_label: 'job'
- source_labels: ['__meta_docker_container_name']
regex: '/(.*)'
replacement: '$1'
target_label: 'instance'
pipeline_stages:
- json:
expressions:
level: level
timestamp: timestamp
message: message
service: service
- labels:
level:
service:
- timestamp:
source: timestamp
format: '2006-01-02T15:04:05.000Z07:00'
- output:
source: message