Files
mtusi2026lab7/infra/otel/prometheus.yaml
T
Angelika ee9d70af85
Skeleton contracts / contracts (pull_request) Blocked by required conditions
Lab7 solution / integration (pull_request) Blocked by required conditions
ЛР 7 — БВТ2303 — Брезгунова — на 5
2026-12-04 17:07:57 +03:00

44 lines
850 B
YAML

{
"global": {
"scrape_interval": "3s",
"evaluation_interval": "3s"
},
"rule_files": [
"/etc/prometheus/alerts.yaml"
],
"scrape_configs": [
{
"job_name": "messenger",
"scheme": "https",
"tls_config": {
"ca_file": "/run/pki/ca.crt",
"cert_file": "/run/tls/cert.crt",
"key_file": "/run/tls/key.key"
},
"static_configs": [
{
"targets": [
"otel-collector:8890"
]
}
]
},
{
"job_name": "collector",
"scheme": "https",
"tls_config": {
"ca_file": "/run/pki/ca.crt",
"cert_file": "/run/tls/cert.crt",
"key_file": "/run/tls/key.key"
},
"static_configs": [
{
"targets": [
"otel-collector:8887"
]
}
]
}
]
}