lab7: безопасность, mTLS, OpenBao и PKI lifecycle
This commit is contained in:
@@ -0,0 +1,64 @@
|
||||
global:
|
||||
scrape_interval: 5s
|
||||
evaluation_interval: 5s
|
||||
|
||||
rule_files:
|
||||
- /etc/prometheus/rules/*.yml
|
||||
|
||||
scrape_configs:
|
||||
- job_name: otel-collector
|
||||
scheme: https
|
||||
tls_config:
|
||||
ca_file: /run/identity/current/ca.crt
|
||||
cert_file: /run/identity/current/tls.crt
|
||||
key_file: /run/identity/current/tls.key
|
||||
min_version: TLS12
|
||||
static_configs:
|
||||
- targets: ["otel-collector:8889"]
|
||||
- job_name: otel-collector-self
|
||||
scheme: https
|
||||
tls_config:
|
||||
ca_file: /run/identity/current/ca.crt
|
||||
cert_file: /run/identity/current/tls.crt
|
||||
key_file: /run/identity/current/tls.key
|
||||
min_version: TLS12
|
||||
static_configs:
|
||||
- targets: ["otel-collector:8888"]
|
||||
- job_name: haproxy
|
||||
scheme: https
|
||||
tls_config:
|
||||
ca_file: /run/identity/current/ca.crt
|
||||
cert_file: /run/identity/current/tls.crt
|
||||
key_file: /run/identity/current/tls.key
|
||||
min_version: TLS12
|
||||
metrics_path: /metrics
|
||||
static_configs:
|
||||
- targets: ["lb:8404"]
|
||||
- job_name: rabbitmq
|
||||
scheme: https
|
||||
tls_config:
|
||||
ca_file: /run/identity/current/ca.crt
|
||||
cert_file: /run/identity/current/tls.crt
|
||||
key_file: /run/identity/current/tls.key
|
||||
min_version: TLS12
|
||||
static_configs:
|
||||
- targets: ["broker:15693"]
|
||||
- job_name: loki
|
||||
scheme: https
|
||||
tls_config:
|
||||
ca_file: /run/identity/current/ca.crt
|
||||
cert_file: /run/identity/current/tls.crt
|
||||
key_file: /run/identity/current/tls.key
|
||||
min_version: TLS12
|
||||
static_configs:
|
||||
- targets: ["loki:3100"]
|
||||
- job_name: tempo
|
||||
scheme: https
|
||||
tls_config:
|
||||
ca_file: /run/identity/current/ca.crt
|
||||
cert_file: /run/identity/current/tls.crt
|
||||
key_file: /run/identity/current/tls.key
|
||||
min_version: TLS12
|
||||
metrics_path: /metrics
|
||||
static_configs:
|
||||
- targets: ["tempo:3200"]
|
||||
Reference in New Issue
Block a user