Files
mtusi2026lab6-fork/infra/prometheus/prometheus.yml
T

20 lines
385 B
YAML

global:
scrape_interval: 10s
evaluation_interval: 10s
rule_files:
- /etc/prometheus/rules/*.yml
scrape_configs:
- job_name: otel-collector
static_configs:
- targets: ["otel-collector:8888"]
- job_name: prometheus
static_configs:
- targets: ["localhost:9090"]
otlp:
promote_resource_attributes:
- service.version
- deployment.environment.name