Files
mtusi2026lab6-fork/infra/otel/prometheus.yml
T
2026-11-19 19:24:45 +03:00

17 lines
407 B
YAML

global:
scrape_interval: 2s
evaluation_interval: 2s
storage:
tsdb:
out_of_order_time_window: 30s
otlp:
promote_resource_attributes: [service.name, service.version, deployment.environment.name]
translation_strategy: UnderscoreEscapingWithSuffixes
rule_files: [/etc/prometheus/alerts.yml]
scrape_configs:
- job_name: otel-collector
static_configs:
- targets: [otel-collector:8888]