forked from mtusi2026/mtusi2026lab7
ЛР 7: безопасность, mTLS и OpenBao на оценку 3
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
global:
|
||||
scrape_interval: 5s
|
||||
evaluation_interval: 5s
|
||||
|
||||
scrape_configs:
|
||||
- job_name: otel-collector
|
||||
scheme: https
|
||||
static_configs:
|
||||
- targets: ["telemetry:8444"]
|
||||
tls_config:
|
||||
ca_file: /run/ca/ca.crt
|
||||
basic_auth:
|
||||
username: prometheus
|
||||
password_file: /run/identity/scrape_password
|
||||
|
||||
- job_name: collector-internal
|
||||
scheme: https
|
||||
metrics_path: /collector-metrics
|
||||
static_configs:
|
||||
- targets: ["telemetry:8444"]
|
||||
tls_config:
|
||||
ca_file: /run/ca/ca.crt
|
||||
basic_auth:
|
||||
username: prometheus
|
||||
password_file: /run/identity/scrape_password
|
||||
Reference in New Issue
Block a user