Hi Team, we are using Jaeger as the Datasource in Grafana for viewing the trace. Recently after the Upgrade to Grafana Version 12.1.0. Passing dashboard variables in Node Graph panels are not working in Grafana. Please see the screenshot attached. If i am passing the value directly, its working. The issue is only with Node Graph pane. Please help with the same
Thanks,
Jijo John
Try ${trace:raw} (I guess variable contains trace id) - and/or check query inspector to see how the value was interpolated (I guess there is some “magic”, e.g. quotes, …).
Hello @jangaraj ,
its giving the same 400 error for ${trace:raw}. I checked the query inspector .
{
“request”: {
“url”: “api/ds/query?ds_type=jaeger&requestId=SQR111”,
“method”: “POST”,
“data”: {
“queries”: \[
{
“datasource”: {
“type”: “jaeger”,
“uid”: “aeqi7w3thbwu8a”
},
“query”: “${TraceID:raw}”,
“refId”: “A”,
“service”: “gateway”,
“operation”: “”,
“minDuration”: “”,
“maxDuration”: “”,
“datasourceId”: 33,
“intervalMs”: 2000,
“maxDataPoints”: 2038
}
\],
“from”: “1758005556727”,
“to”: “1758009156727”
},
“hideFromInspector”: false
},
“response”: {
“results”: {
“A”: {
“error”: “request failed: 400 Bad Request”,
“errorSource”: “downstream”,
“status”: 500,
“refId”: “A”
}
}
}
}
Thanks,
Jijo John
This is using TraceID. You were using traceid in the previous screen. Names are case sensitive, so use the exact dashboard variable name (not label).
Hi @jangaraj ,
That was my testing panel. i tried naming the variable also exactly same as the column name. I have tried both and its not working. Any other options
Thanks,
Jijo John
Hello @jangaraj ,
How can i report this as a Bug.
Regards,
Jijo John