Files
mtusi2026lab7/infra/prometheus/prometheus.yml
T

26 lines
601 B
YAML

global:
scrape_interval: 5s
evaluation_interval: 5s
scrape_configs:
- job_name: otel-collector
scheme: https
static_configs:
- targets: ["telemetry:8444"]
tls_config:
ca_file: /run/ca/ca.crt
basic_auth:
username: prometheus
password_file: /run/identity/scrape_password
- job_name: collector-internal
scheme: https
metrics_path: /collector-metrics
static_configs:
- targets: ["telemetry:8444"]
tls_config:
ca_file: /run/ca/ca.crt
basic_auth:
username: prometheus
password_file: /run/identity/scrape_password