Files
mtusi2026lab6/infra/prometheus/prometheus.yaml
T
2026-11-05 22:23:52 +03:00

8 lines
286 B
YAML

global: {scrape_interval: 5s, evaluation_interval: 5s}
rule_files: ['/etc/prometheus/alerts.yaml']
scrape_configs:
- job_name: collector
static_configs: [{targets: ['otel-collector:8889']}]
- job_name: collector-internal
static_configs: [{targets: ['otel-collector:8888']}]