Реализовать защиту Lab7 и проверку отзыва worker
This commit is contained in:
@@ -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]
|
||||
Reference in New Issue
Block a user