Files
mtusi2026lab7/infra/prometheus/prometheus.yaml
T
lxstatmose 2c2734df60
Skeleton contracts / contracts (pull_request) Canceled after 0s
Лабораторная 7: TLS, mTLS и OpenBao
2026-11-28 01:28:30 +03:00

27 lines
592 B
YAML

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