ЛР 7: реализация мессенджера и сценарии проверки

This commit is contained in:
Russiankryt
2026-12-03 17:20:53 +03:00
parent 20afc2c790
commit 3dd0587e7d
57 changed files with 3470 additions and 55 deletions
+18
View File
@@ -0,0 +1,18 @@
global:
scrape_interval: 5s
evaluation_interval: 5s
rule_files: [/etc/prometheus/alerts.yml]
scrape_configs:
- job_name: messenger
scheme: https
tls_config: &collector-tls
ca_file: /run/secrets/lab_ca
cert_file: /run/secrets/prom_client_crt
key_file: /run/secrets/prom_client_key
static_configs:
- targets: [collector:9443]
- job_name: collector
scheme: https
tls_config: *collector-tls
static_configs:
- targets: [collector:9444]