102 lines
3.7 KiB
JSON
102 lines
3.7 KiB
JSON
|
|
{
|
||
|
|
"annotations": { "list": [] },
|
||
|
|
"editable": true,
|
||
|
|
"fiscalYearStartMonth": 0,
|
||
|
|
"graphTooltip": 1,
|
||
|
|
"id": null,
|
||
|
|
"links": [
|
||
|
|
{ "title": "Tempo data source", "type": "link", "url": "/explore?left=%7B%22datasource%22:%22tempo%22%7D" }
|
||
|
|
],
|
||
|
|
"liveNow": false,
|
||
|
|
"panels": [
|
||
|
|
{
|
||
|
|
"datasource": { "type": "tempo", "uid": "tempo" },
|
||
|
|
"gridPos": { "h": 14, "w": 24, "x": 0, "y": 0 },
|
||
|
|
"id": 1,
|
||
|
|
"type": "nodeGraph",
|
||
|
|
"title": "Service map (last 1h)",
|
||
|
|
"options": {},
|
||
|
|
"targets": [
|
||
|
|
{
|
||
|
|
"queryType": "serviceMap",
|
||
|
|
"refId": "A",
|
||
|
|
"datasource": { "type": "tempo", "uid": "tempo" }
|
||
|
|
}
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"datasource": { "type": "tempo", "uid": "tempo" },
|
||
|
|
"gridPos": { "h": 10, "w": 12, "x": 0, "y": 14 },
|
||
|
|
"id": 2,
|
||
|
|
"type": "table",
|
||
|
|
"title": "Slowest spans (auth.login + track.upload.initiate + payment.webhook + search.query)",
|
||
|
|
"options": { "showHeader": true },
|
||
|
|
"fieldConfig": { "defaults": { "custom": { "align": "auto" } }, "overrides": [] },
|
||
|
|
"targets": [
|
||
|
|
{
|
||
|
|
"query": "{name=~\"auth.login|track.upload.initiate|payment.webhook|search.query\"} | by(name) | aggregate(max(duration))",
|
||
|
|
"queryType": "traceql",
|
||
|
|
"tableType": "spans",
|
||
|
|
"refId": "A",
|
||
|
|
"datasource": { "type": "tempo", "uid": "tempo" }
|
||
|
|
}
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"datasource": { "type": "tempo", "uid": "tempo" },
|
||
|
|
"gridPos": { "h": 10, "w": 12, "x": 12, "y": 14 },
|
||
|
|
"id": 3,
|
||
|
|
"type": "table",
|
||
|
|
"title": "Recent errors on hot paths",
|
||
|
|
"options": { "showHeader": true },
|
||
|
|
"fieldConfig": { "defaults": { "custom": { "align": "auto" } }, "overrides": [] },
|
||
|
|
"targets": [
|
||
|
|
{
|
||
|
|
"query": "{name=~\"auth.login|track.upload.initiate|payment.webhook|search.query\" && status=error} | by(name)",
|
||
|
|
"queryType": "traceql",
|
||
|
|
"tableType": "spans",
|
||
|
|
"refId": "A",
|
||
|
|
"datasource": { "type": "tempo", "uid": "tempo" }
|
||
|
|
}
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"datasource": { "type": "prometheus", "uid": "prometheus" },
|
||
|
|
"gridPos": { "h": 8, "w": 12, "x": 0, "y": 24 },
|
||
|
|
"id": 4,
|
||
|
|
"type": "timeseries",
|
||
|
|
"title": "OTel collector — accepted vs refused spans",
|
||
|
|
"fieldConfig": { "defaults": { "unit": "short", "color": { "mode": "palette-classic" } }, "overrides": [] },
|
||
|
|
"options": { "legend": { "displayMode": "list", "placement": "bottom" } },
|
||
|
|
"targets": [
|
||
|
|
{ "expr": "sum(rate(otelcol_receiver_accepted_spans{receiver=\"otlp\"}[5m]))", "legendFormat": "accepted", "refId": "A" },
|
||
|
|
{ "expr": "sum(rate(otelcol_receiver_refused_spans{receiver=\"otlp\"}[5m]))", "legendFormat": "refused", "refId": "B" }
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"datasource": { "type": "prometheus", "uid": "prometheus" },
|
||
|
|
"gridPos": { "h": 8, "w": 12, "x": 12, "y": 24 },
|
||
|
|
"id": 5,
|
||
|
|
"type": "timeseries",
|
||
|
|
"title": "OTel collector — exporter queue depth",
|
||
|
|
"fieldConfig": { "defaults": { "unit": "short", "color": { "mode": "palette-classic" } }, "overrides": [] },
|
||
|
|
"options": { "legend": { "displayMode": "list", "placement": "bottom" } },
|
||
|
|
"targets": [
|
||
|
|
{ "expr": "otelcol_exporter_queue_size", "legendFormat": "{{exporter}}", "refId": "A" },
|
||
|
|
{ "expr": "otelcol_exporter_queue_capacity", "legendFormat": "{{exporter}} capacity", "refId": "B" }
|
||
|
|
]
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"refresh": "30s",
|
||
|
|
"schemaVersion": 38,
|
||
|
|
"style": "dark",
|
||
|
|
"tags": ["veza", "tracing", "tempo"],
|
||
|
|
"templating": { "list": [] },
|
||
|
|
"time": { "from": "now-1h", "to": "now" },
|
||
|
|
"timepicker": {},
|
||
|
|
"timezone": "browser",
|
||
|
|
"title": "Veza Service Map (Tempo)",
|
||
|
|
"uid": "veza-service-map",
|
||
|
|
"version": 1
|
||
|
|
}
|