Files
mtusi2026lab7/infra/otel/prometheus.yml
T
R0flyan 2fa513f56c
Skeleton contracts / contracts (pull_request) Canceled after 0s
Lab7 HTTPS integration / compose (pull_request) Canceled after 0s
Реализовать защиту Lab7 и проверку отзыва worker
2026-11-27 21:53:26 +03:00

22 lines
551 B
YAML

global:
scrape_interval: 2s
evaluation_interval: 2s
storage:
tsdb:
out_of_order_time_window: 30s
otlp:
promote_resource_attributes: [service.name, service.version, deployment.environment.name]
translation_strategy: UnderscoreEscapingWithSuffixes
rule_files: [/etc/prometheus/alerts.yml]
scrape_configs:
- job_name: otel-collector
scheme: https
tls_config:
ca_file: /run/lab-tls/ca.crt
cert_file: /run/lab-tls/tls.crt
key_file: /run/lab-tls/tls.key
static_configs:
- targets: [otel-collector:4318]