Files
mtusi2026lab7/infra/otel/prometheus.yaml
T
koichakaev 65bbf3224a
Application HTTPS smoke / smoke (pull_request) Blocked by required conditions
Skeleton contracts / contracts (pull_request) Blocked by required conditions
Выполнить лабораторную 7 по безопасности мессенджера
2026-12-04 23:51:24 +03:00

20 lines
472 B
YAML

global:
scrape_interval: 3s
evaluation_interval: 3s
rule_files:
- /etc/prometheus/rules.yaml
scrape_configs:
- job_name: messenger
scheme: https
tls_config: &mtls
ca_file: /run/identity/ca.crt
cert_file: /run/identity/service.crt
key_file: /run/identity/service.key
static_configs:
- targets: [collector:8889]
- job_name: collector
scheme: https
tls_config: *mtls
static_configs:
- targets: [collector:8888]