Files
mtusi2026lab7/infra/otel/prometheus.yaml
T
2026-11-24 12:20:21 +03:00

25 lines
516 B
YAML

global:
scrape_interval: 3s
evaluation_interval: 5s
rule_files:
- /etc/prometheus/alerts.yaml
scrape_configs:
- job_name: messenger
static_configs:
- targets:
- otel-collector:8889
scheme: https
tls_config:
ca_file: /run/ca/ca.crt
cert_file: /run/tls/cert.crt
key_file: /run/tls/key.key
- job_name: collector
static_configs:
- targets:
- otel-collector:8888
scheme: https
tls_config:
ca_file: /run/ca/ca.crt
cert_file: /run/tls/cert.crt
key_file: /run/tls/key.key