forked from mtusi2026/mtusi2026lab7
feat: complete lab 7 for grade 4
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
global:
|
||||
scrape_interval: 5s
|
||||
evaluation_interval: 5s
|
||||
rule_files: [/etc/prometheus/rules.yaml]
|
||||
scrape_configs:
|
||||
- job_name: application-otlp
|
||||
scheme: https
|
||||
tls_config: &scrape_tls
|
||||
ca_file: /run/trust/ca.crt
|
||||
cert_file: /run/identity/client.crt
|
||||
key_file: /run/identity/client.key
|
||||
scrape_protocols: [OpenMetricsText1.0.0, PrometheusText0.0.4]
|
||||
static_configs:
|
||||
- targets: [otel-collector:9464]
|
||||
- job_name: collector
|
||||
scheme: https
|
||||
tls_config: *scrape_tls
|
||||
static_configs:
|
||||
- targets: [otel-collector:8888]
|
||||
- job_name: ingress
|
||||
scheme: https
|
||||
tls_config: *scrape_tls
|
||||
metrics_path: /metrics
|
||||
static_configs:
|
||||
- targets: [lb:8404]
|
||||
- job_name: prometheus
|
||||
static_configs:
|
||||
- targets: [127.0.0.1:19090]
|
||||
Reference in New Issue
Block a user