Files
mtusi2026lab7/infra/prometheus/prometheus.yaml
T
Khakimov Dmitrij 2a7418fc45
Skeleton contracts / contracts (pull_request) Blocked by required conditions
lab 7 done
2026-11-29 21:59:16 +03:00

27 lines
747 B
YAML

global:
scrape_interval: 5s
evaluation_interval: 5s
rule_files: [/etc/prometheus/alerts.yaml]
scrape_configs:
- job_name: messenger
scheme: https
tls_config: &client
ca_file: /trust/ca.crt
cert_file: /identity/tls.crt
key_file: /identity/tls.key
static_configs: [{targets: ['collector:48889']}]
- job_name: collector
scheme: https
tls_config: *client
static_configs: [{targets: ['collector:48888']}]
- job_name: tempo
scheme: https
tls_config: *client
static_configs: [{targets: ['tempo:43201']}]
- job_name: loki
scheme: https
tls_config: *client
static_configs: [{targets: ['loki:43102']}]
- job_name: prometheus
static_configs: [{targets: ['localhost:9090']}]