Instrument durable messenger with OTel, provision Grafana and prove SLO incident detection
This commit is contained in:
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"name": "postgres_chat_table_lock",
|
||||
"short_spike_seconds": 3,
|
||||
"spike_http_errors": 8,
|
||||
"spike_requests": 292,
|
||||
"false_fast_burn_firings": 0,
|
||||
"sustained_lock_seconds": 45,
|
||||
"detection_seconds": 24.329,
|
||||
"trace_id": "a02eea4118e6406ca3b2a50f647c3706",
|
||||
"slow_db_spans": [
|
||||
{
|
||||
"service": "messenger-api",
|
||||
"name": "db.pool.acquire",
|
||||
"id": "8vXMgCVxfRo=",
|
||||
"parent_id": "W+a1plu4JDk=",
|
||||
"kind": "SPAN_KIND_INTERNAL",
|
||||
"status": {},
|
||||
"duration_ms": 0.0035
|
||||
},
|
||||
{
|
||||
"service": "messenger-api",
|
||||
"name": "db.SELECT",
|
||||
"id": "+nX+TBpQfwc=",
|
||||
"parent_id": "W+a1plu4JDk=",
|
||||
"kind": "SPAN_KIND_CLIENT",
|
||||
"status": {},
|
||||
"duration_ms": 0.270667
|
||||
},
|
||||
{
|
||||
"service": "messenger-api",
|
||||
"name": "db.pool.acquire",
|
||||
"id": "Od1SD2h6n/A=",
|
||||
"parent_id": "W+a1plu4JDk=",
|
||||
"kind": "SPAN_KIND_INTERNAL",
|
||||
"status": {},
|
||||
"duration_ms": 0.01125
|
||||
},
|
||||
{
|
||||
"service": "messenger-api",
|
||||
"name": "db.SELECT",
|
||||
"id": "2FtvyJBJ0dQ=",
|
||||
"parent_id": "W+a1plu4JDk=",
|
||||
"kind": "SPAN_KIND_CLIENT",
|
||||
"status": {
|
||||
"message": "dependency operation failed",
|
||||
"code": "STATUS_CODE_ERROR"
|
||||
},
|
||||
"duration_ms": 1001.004792
|
||||
}
|
||||
],
|
||||
"recovery_anchor": "first coordinator poll after SQL lock process completed",
|
||||
"resolution_seconds": {
|
||||
"APIHighErrorRate": 23.429,
|
||||
"APIBudgetFastBurn": 11.188,
|
||||
"APIBudgetSlowBurn": 29.524
|
||||
},
|
||||
"all_resolved": true
|
||||
}
|
||||
Reference in New Issue
Block a user