Files
mtusi2026lab7/obs/prometheus.yaml
T
wanderinho 7ee5192cbd
Skeleton contracts / contracts (pull_request) Blocked by required conditions
ЛР7 - БПИ2303 - Стругов - на 4
2026-12-06 23:11:49 +03:00

13 lines
462 B
YAML

global: {scrape_interval: 5s, evaluation_interval: 5s}
rule_files: [/etc/prometheus/alerts.yaml]
scrape_configs:
- job_name: messenger
scheme: https
tls_config: {ca_file: /pki/ca.crt, min_version: TLS12}
static_configs: [{targets: ['otel-gateway:8889']}]
- job_name: collector
scheme: https
metrics_path: /collector-metrics
tls_config: {ca_file: /pki/ca.crt, min_version: TLS12}
static_configs: [{targets: ['otel-gateway:8889']}]