Files
mtusi2026lab7/infra/otel/prometheus.yaml
T

22 lines
499 B
YAML

global:
scrape_interval: 5s
evaluation_interval: 5s
scrape_configs:
- job_name: messenger
scheme: https
tls_config:
ca_file: /tls/ca.crt
cert_file: /tls/service.crt
key_file: /tls/service.key
static_configs:
- targets: ['otel-collector:8899']
- job_name: collector
scheme: https
tls_config:
ca_file: /tls/ca.crt
cert_file: /tls/service.crt
key_file: /tls/service.key
static_configs:
- targets: ['otel-collector:8898']