lab 7 openbao

This commit is contained in:
2026-11-23 14:39:13 +03:00
parent 20afc2c790
commit 912a874f00
118 changed files with 12464 additions and 5108 deletions
+15
View File
@@ -0,0 +1,15 @@
global:
scrape_interval: 15s
evaluation_interval: 15s
rule_files:
- /etc/prometheus/alerts.yml
scrape_configs:
# App metrics arrive by remote write (push, mTLS). Only the Collector self-metrics (plain, internal) and Prometheus itself (TLS) are scraped.
- job_name: otel-collector
static_configs:
- targets: ["otel-collector:8888"]
- job_name: prometheus
scheme: https
tls_config: {ca_file: /pki/ca.crt, cert_file: /pki/tls.crt, key_file: /pki/tls.key, server_name: prometheus}
static_configs:
- targets: ["prometheus:9090"]