Реализовать наблюдаемость и доказательства уровня 4

This commit is contained in:
EgorAnti
2026-11-19 20:08:50 +03:00
parent 470d9d6f1e
commit 935de06050
195 changed files with 19333 additions and 53 deletions
@@ -0,0 +1,43 @@
{
"captured_at": "2026-11-19T16:36:47.0833934Z",
"api_5xx": {
"status": "success",
"data": {
"resultType": "vector",
"result": [
{
"metric": {},
"value": [
1795106207.063,
"0.5846403015440146"
]
}
]
}
},
"alerts": {
"status": "success",
"data": {
"alerts": [
{
"labels": {
"alertname": "MessengerApiHighErrorRate",
"severity": "warning",
"slo": "api-availability"
},
"annotations": {
"description": "Five-minute 5xx ratio is above 5% for two minutes.",
"runbook": "infra/otel/runbooks.md#api-high-error-rate",
"summary": "Messenger API 5xx ratio exceeds 5%"
},
"state": "firing",
"activeAt": "2026-11-19T16:34:37.684164819Z",
"value": "9.644768265300965e-01"
}
]
}
},
"alert_firing": true,
"jdbc_spans_hint": "Grafana Explore -> Tempo: { resource.service.name = \"messenger-api\" && span.db.system.name = \"postgresql\" }",
"correlated_logs_hint": "Grafana Explore -> Loki: {service_name=\"messenger-api\"} | json | level=\"ERROR\""
}