Files
mtusi2026lab7/infra/otel/prometheus.yaml
T
gytall 0b97f77d76
Skeleton contracts / contracts (pull_request) Canceled after 0s
skeleton lab7 and tasks for grade 3
2026-11-21 16:21:47 +03:00

22 lines
580 B
YAML

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