Files
mtusi2026lab6/infra/prometheus/prometheus.yml
T

19 lines
374 B
YAML

global:
scrape_interval: 10s
evaluation_interval: 10s
rule_files:
- /etc/prometheus/rules.yml
scrape_configs:
- job_name: 'otel-collector'
static_configs:
- targets: ['otelcol:8889']
- job_name: 'prometheus'
static_configs:
- targets: ['localhost:9090']
- job_name: otelcol-internal
static_configs:
- targets: [ 'otelcol:8888' ]