Лабораторная 7

This commit is contained in:
MacBook
2026-11-24 12:20:21 +03:00
parent 20afc2c790
commit b962fa0d5d
99 changed files with 11329 additions and 107 deletions
+24
View File
@@ -0,0 +1,24 @@
global:
scrape_interval: 3s
evaluation_interval: 5s
rule_files:
- /etc/prometheus/alerts.yaml
scrape_configs:
- job_name: messenger
static_configs:
- targets:
- otel-collector:8889
scheme: https
tls_config:
ca_file: /run/ca/ca.crt
cert_file: /run/tls/cert.crt
key_file: /run/tls/key.key
- job_name: collector
static_configs:
- targets:
- otel-collector:8888
scheme: https
tls_config:
ca_file: /run/ca/ca.crt
cert_file: /run/tls/cert.crt
key_file: /run/tls/key.key