Files
mtusi2026lab7/infra/otel/prometheus.yml
T
kaktuz20000 5a6fcff3ef
Skeleton contracts / contracts (pull_request) Canceled after 0s
выполение на 5
2026-11-04 19:22:35 +03:00

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"]