forked from mtusi2026/mtusi2026lab7
130 lines
3.7 KiB
JSON
130 lines
3.7 KiB
JSON
{
|
|
"state": "PASS_NATIVE_LOG_TRACE_LINKS",
|
|
"stage": "UI_TRACE_TO_LOGS_SPAN_DETAILS",
|
|
"session_login": "operator",
|
|
"dashboard_titles": 0,
|
|
"trace_id": "13aa5cd043d490330a867149fc7f4dbf",
|
|
"expected_spans": 42,
|
|
"metric_window_end_milliseconds": 1794801466224,
|
|
"diagnostics": "/mnt/data/home/bench-saves/mtuci-vp7-security-20261115/.local/diagnostics/grafana-browser-86b82122-1952-4da5-b8d1-1a41ff9dcef2",
|
|
"console_error_count": 4,
|
|
"native_browser_metrics": [
|
|
{
|
|
"id": 1,
|
|
"title": "Requests / second",
|
|
"expr": "sum(rate(http_requests[1m]))"
|
|
},
|
|
{
|
|
"id": 2,
|
|
"title": "HTTP p50 seconds",
|
|
"expr": "histogram_quantile(0.50,sum by (le)(rate(http_duration_bucket[1m])))"
|
|
},
|
|
{
|
|
"id": 3,
|
|
"title": "HTTP p99 seconds",
|
|
"expr": "histogram_quantile(0.99,sum by (le)(rate(http_duration_bucket[1m])))"
|
|
},
|
|
{
|
|
"id": 4,
|
|
"title": "HTTP server error ratio",
|
|
"expr": "(sum(rate(http_requests{status_class=\"5xx\"}[1m])) or vector(0)) / clamp_min(sum(rate(http_requests[1m])),0.001)"
|
|
},
|
|
{
|
|
"id": 5,
|
|
"title": "HTTP p95 seconds",
|
|
"expr": "histogram_quantile(0.95,sum by (le)(rate(http_duration_bucket[1m])))"
|
|
},
|
|
{
|
|
"id": 6,
|
|
"title": "Jobs by outcome",
|
|
"expr": "sum by (outcome)(rate(jobs_processed[1m]))"
|
|
},
|
|
{
|
|
"id": 7,
|
|
"title": "Job duration p95 seconds",
|
|
"expr": "histogram_quantile(0.95,sum by(le)(rate(job_duration_bucket[1m])))"
|
|
},
|
|
{
|
|
"id": 8,
|
|
"title": "Time to ready p95 seconds",
|
|
"expr": "histogram_quantile(0.95,sum by(le)(rate(time_to_ready_bucket[1m])))"
|
|
},
|
|
{
|
|
"id": 9,
|
|
"title": "Oldest unfinished job seconds",
|
|
"expr": "max(queue_oldest_age_seconds)"
|
|
},
|
|
{
|
|
"id": 10,
|
|
"title": "Unfinished jobs",
|
|
"expr": "max(queue_depth)"
|
|
},
|
|
{
|
|
"id": 11,
|
|
"title": "Worker busy",
|
|
"expr": "sum(worker_busy)"
|
|
},
|
|
{
|
|
"id": 12,
|
|
"title": "Worker capacity",
|
|
"expr": "sum((worker_capacity and (timestamp(worker_capacity) > time()-10)))"
|
|
},
|
|
{
|
|
"id": 13,
|
|
"title": "Database observer up",
|
|
"expr": "min((database_observer_up and (timestamp(database_observer_up) > time()-10)))"
|
|
},
|
|
{
|
|
"id": 14,
|
|
"title": "Database pool used",
|
|
"expr": "sum(db_pool_used)"
|
|
},
|
|
{
|
|
"id": 15,
|
|
"title": "Database pending acquires",
|
|
"expr": "sum(db_pool_pending_acquires)"
|
|
},
|
|
{
|
|
"id": 16,
|
|
"title": "Database pool capacity",
|
|
"expr": "sum((db_pool_capacity and (timestamp(db_pool_capacity)>time()-10)))"
|
|
},
|
|
{
|
|
"id": 17,
|
|
"title": "Ready within 10 seconds",
|
|
"expr": "max(ready_slo_timely_10s) / clamp_min(max(ready_slo_matured_10s),1)"
|
|
},
|
|
{
|
|
"id": 18,
|
|
"title": "Ready within 30 seconds",
|
|
"expr": "max(ready_slo_timely_30s) / clamp_min(max(ready_slo_matured_30s),1)"
|
|
},
|
|
{
|
|
"id": 19,
|
|
"title": "Ready within 300 seconds",
|
|
"expr": "max(ready_slo_timely_300s) / clamp_min(max(ready_slo_matured_300s),1)"
|
|
}
|
|
],
|
|
"response_cap": false,
|
|
"links": {
|
|
"trace_spans": 42,
|
|
"parent_relations": 41,
|
|
"selected_span_id": "54d90849005639d4",
|
|
"from_milliseconds": 1794785659919,
|
|
"to_milliseconds": 1794785660468,
|
|
"sql": "SELECT * FROM \"messenger\" WHERE \"trace_id\" = '13aa5cd043d490330a867149fc7f4dbf'",
|
|
"response_status": 200,
|
|
"rows": [
|
|
{
|
|
"trace_id": "13aa5cd043d490330a867149fc7f4dbf",
|
|
"span_id": "54d90849005639d4",
|
|
"event": "worker.job",
|
|
"timestamp_microseconds": 1794785660451568
|
|
}
|
|
],
|
|
"new_rendered_worker_job_row": true
|
|
},
|
|
"producer_started": false,
|
|
"native_bao": false
|
|
}
|