forked from mtusi2026/mtusi2026lab7
29 lines
782 B
YAML
29 lines
782 B
YAML
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]
|