Реализовать лабораторную 7: mTLS, OpenBao и защита worker
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
global:
|
||||
scrape_interval: 5s
|
||||
evaluation_interval: 5s
|
||||
rule_files:
|
||||
- /etc/prometheus/alerts.yaml
|
||||
scrape_configs:
|
||||
- job_name: application-otlp
|
||||
scheme: https
|
||||
tls_config:
|
||||
ca_file: /run/trust/ca.crt
|
||||
cert_file: /run/identity/service.crt
|
||||
key_file: /run/identity/service.key
|
||||
server_name: collector
|
||||
static_configs:
|
||||
- targets:
|
||||
- collector:18889
|
||||
- job_name: collector-self
|
||||
scheme: https
|
||||
tls_config:
|
||||
ca_file: /run/trust/ca.crt
|
||||
cert_file: /run/identity/service.crt
|
||||
key_file: /run/identity/service.key
|
||||
server_name: collector
|
||||
static_configs:
|
||||
- targets:
|
||||
- collector:18888
|
||||
Reference in New Issue
Block a user