forked from mtusi2026/mtusi2026lab7
Лабораторная 7
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user