Skip to content

Commit

Permalink
feat(localenv): add example panel of traces in the grafana dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
mkurapov committed Jul 18, 2024
1 parent 87f33aa commit 886535c
Showing 1 changed file with 108 additions and 1 deletion.
109 changes: 108 additions & 1 deletion localenv/telemetry/grafana/provisioning/dashboards/example.json
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,113 @@
],
"title": "Transaction Count",
"type": "timeseries"
},
{
"datasource": {
"type": "tempo",
"uid": "P214B5B846CF3925F"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"cellOptions": {
"type": "auto"
},
"inspect": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 16
},
"id": 3,
"options": {
"cellHeight": "sm",
"footer": {
"countRows": false,
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": [
{
"desc": true,
"displayName": "Duration"
}
]
},
"pluginVersion": "11.1.0",
"targets": [
{
"datasource": {
"type": "tempo",
"uid": "P214B5B846CF3925F"
},
"filters": [
{
"id": "9bab4a0a",
"operator": "=",
"scope": "span"
},
{
"id": "service-name",
"operator": "=",
"scope": "resource",
"tag": "service.name",
"value": [
"RAFIKI_NETWORK"
],
"valueType": "string"
},
{
"id": "span-name",
"operator": "=",
"scope": "span",
"tag": "name",
"value": [],
"valueType": "string"
},
{
"id": "min-duration",
"operator": ">",
"tag": "duration",
"value": "100ms",
"valueType": "duration"
}
],
"limit": 20,
"queryType": "traceqlSearch",
"refId": "A",
"tableType": "traces"
}
],
"title": "Traces > 100ms",
"type": "table"
}
],
"refresh": "15s",
Expand Down Expand Up @@ -243,6 +350,6 @@
"timezone": "browser",
"title": "Example Dashboard",
"uid": "fdr58stwkr6yof",
"version": 1,
"version": 2,
"weekStart": ""
}

0 comments on commit 886535c

Please sign in to comment.