51 lines
1.4 KiB
JSON
51 lines
1.4 KiB
JSON
{
|
|
"title": "Excititor VEX Observations Traces",
|
|
"tags": ["excititor", "traces", "vex"],
|
|
"timezone": "browser",
|
|
"schemaVersion": 38,
|
|
"version": 1,
|
|
"refresh": "30s",
|
|
"panels": [
|
|
{
|
|
"type": "stat",
|
|
"title": "Spans (last 15m)",
|
|
"gridPos": {"h": 4, "w": 6, "x": 0, "y": 0},
|
|
"targets": [
|
|
{
|
|
"refId": "A",
|
|
"datasource": {"type": "tempo", "uid": "tempo"},
|
|
"expr": "sum by(service_name)(rate(traces_spanmetrics_calls_total{service_name=~\"excititor.*\"}[15m]))"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "stat",
|
|
"title": "Errors (last 15m)",
|
|
"gridPos": {"h": 4, "w": 6, "x": 6, "y": 0},
|
|
"targets": [
|
|
{
|
|
"refId": "A",
|
|
"datasource": {"type": "tempo", "uid": "tempo"},
|
|
"expr": "sum by(status_code)(rate(traces_spanmetrics_calls_total{status_code=\"STATUS_CODE_ERROR\",service_name=~\"excititor.*\"}[15m]))"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "table",
|
|
"title": "Recent /v1/vex/observations spans",
|
|
"gridPos": {"h": 12, "w": 24, "x": 0, "y": 4},
|
|
"options": {
|
|
"showHeader": true
|
|
},
|
|
"targets": [
|
|
{
|
|
"refId": "A",
|
|
"datasource": {"type": "tempo", "uid": "tempo"},
|
|
"queryType": "traceql",
|
|
"expr": "{ service.name = \"excititor\" && http.target = \"/v1/vex/observations\" } | limit 50"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|