Files
mtusi2026lab7/infra/otel/prometheus.yaml

20 lines
472 B
YAML

global:
scrape_interval: 3s
evaluation_interval: 3s
rule_files:
- /etc/prometheus/rules.yaml
scrape_configs:
- job_name: messenger
scheme: https
tls_config: &mtls
ca_file: /run/identity/ca.crt
cert_file: /run/identity/service.crt
key_file: /run/identity/service.key
static_configs:
- targets: [collector:8889]
- job_name: collector
scheme: https
tls_config: *mtls
static_configs:
- targets: [collector:8888]