Реализовать защиту Lab7 и проверку отзыва worker

This commit is contained in:
R0flyan
2026-11-27 21:53:26 +03:00
parent 20afc2c790
commit 2fa513f56c
68 changed files with 6767 additions and 64 deletions
+21
View File
@@ -0,0 +1,21 @@
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]