add tempo (tracing), pyroscope (profiling), node exporter (metriche)

This commit is contained in:
2025-11-08 11:01:39 +01:00
parent 9dba844d13
commit 4c2a5b6738
10 changed files with 463 additions and 397 deletions

View File

@@ -0,0 +1,27 @@
server:
http_listen_port: 9080
grpc_listen_port: 0
positions:
filename: /tmp/positions.yaml
clients:
- url: http://loki:3100/loki/api/v1/push
external_labels:
environment: production
cluster: myapp-cluster
scrape_configs:
- job_name: docker
docker_sd_configs:
- host: unix:///var/run/docker.sock
refresh_interval: 5s
filters:
- name: label
values: ["logging=promtail"]
relabel_configs:
- source_labels: ['__meta_docker_container_name']
regex: '/(.*)'
target_label: 'container'
- source_labels: ['__meta_docker_container_label_logging_jobname']
target_label: 'job'