prometheus and otlp

This commit is contained in:
2025-07-26 12:42:54 +02:00
parent 2c096a5946
commit ef794eba8c
5 changed files with 94 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
# scrape_configs:
# # The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
# - job_name: "otel_collector"
# static_configs:
# - targets: ["otel_collector:6327"]
storage:
tsdb:
out_of_order_time_window: 30m
otlp:
# Recommended attributes to be promoted to labels.
promote_resource_attributes:
- service.instance.id
- service.name
- service.namespace
- service.version
- container.name
- deployment.environment
- deployment.environment.name