forked from mtusi2026/mtusi2026lab7
21 lines
517 B
YAML
21 lines
517 B
YAML
global:
|
|
scrape_interval: 10s
|
|
evaluation_interval: 10s
|
|
|
|
rule_files:
|
|
- /etc/prometheus/alerts.yml
|
|
|
|
scrape_configs:
|
|
- job_name: otel-collector
|
|
scheme: https
|
|
tls_config:
|
|
ca_file: /run/secrets/ca_crt
|
|
cert_file: /run/secrets/collector_prometheus_client_cert
|
|
key_file: /run/secrets/collector_prometheus_client_key
|
|
server_name: otel-collector
|
|
static_configs:
|
|
- targets: ["otel-collector:9464"]
|
|
- job_name: prometheus
|
|
static_configs:
|
|
- targets: ["localhost:9090"]
|