Защитить мессенджер TLS и OpenBao и проверить отзыв прав worker

This commit is contained in:
2026-11-06 18:32:19 +03:00
parent 20afc2c790
commit 8f82949094
89 changed files with 8323 additions and 76 deletions
+23
View File
@@ -0,0 +1,23 @@
global:
scrape_interval: 2s
evaluation_interval: 2s
rule_files:
- /etc/prometheus/alerts.yaml
scrape_configs:
- job_name: messenger-otel
honor_labels: true
scheme: https
tls_config:
ca_file: /run/tls/trust/ca.crt
cert_file: /run/tls/client/service.crt
key_file: /run/tls/client/service.key
static_configs: [{targets: ["otel-collector:8889"]}]
- job_name: collector
scheme: https
tls_config:
ca_file: /run/tls/trust/ca.crt
cert_file: /run/tls/client/service.crt
key_file: /run/tls/client/service.key
static_configs: [{targets: ["otel-collector:8888"]}]