VolkovLabs/business-variable

General error when trying to load a visual Variable panel

Closed this issue · 5 comments

Hey guys,

Looks like there's an issue displaying the varibles on panel view (works on table view)
image
table view:
image

some more data that might help from inspect options:
image

query details:
{
"request": {
"url": "api/ds/query?ds_type=mysql&requestId=Q199",
"method": "POST",
"data": {
"queries": [
{
"refId": "A",
"datasource": {
"type": "mysql",
"uid": "eb0ca8d0-5e93-45b7-8d10-664bcc94a678"
},
"rawSql": "SELECT CONCAT(name, ' - ', globalid) AS globalid_name\r\nFROM ******.Sites;",
"format": "table",
"datasourceId": 3,
"intervalMs": 300000,
"maxDataPoints": 1862
}
],
"from": "1720310400000",
"to": "1720913400000"
},
"hideFromInspector": false
},
"response": {
"results": {
"A": {
"status": 200,
"frames": [
{
"schema": {
"refId": "A",
"meta": {
"typeVersion": [
0,
0
],
"executedQueryString": "SELECT CONCAT(name, ' - ', globalid) AS globalid_name\r\nFROM ******.Sites;"
},
"fields": [
{
"name": "globalid_name",
"type": "string",
"typeInfo": {
"frame": "string",
"nullable": true
}
}
]
},
"data": {
"values": [
[
"DemoSite - 6",
"Nitzanim C - 9",
"Nitzanim D - 100",
"Demo5 - 5",
"Demo12 - 12",
"Demo13 - 13",
"Demo11 - 0",
"Advantec - 1",
"EC2 - 10",
"Kfar Maimon Clone - 3"
]
]
}
}
],
"refId": "A"
}
}
}
}
will you be able to assist?

@LironTectu What Grafana version do you use? How did you install the plugin?

Hi mikhail and thank you for the help!,
Here's a screenshot of the grafana info (installed on prem)
image

the plugin was installed via the plugins screen (you can see that it's marked as installed)
image

version 3.2:
image

@LironTectu Interesting, do you see any errors in the Browser's Console which can help us to troubleshoot the issue?

I just tested 3.2.0 on the 11.0.0 release and it works as expected. We did not receive any other reports of the problem on Grafana 11, which makes me to believe it's isolated issue to your environment.

Screenshot 2024-08-07 at 9 15 16 AM

Hi Mikhail,

I have restarted the grafana environment and looks like it solved the issue but looks like the logs have dissapeared,
however if it will occur again I will also send you the console and grafana internal logs for you to have the info, maybe it will help others

thank you for the help so far!

@LironTectu You may have some permissions issues with accessing plugins and log files.

Let us know if there is anything else.