VolkovLabs / business-variable

Update dashboard variables for @grafana
https://docs.volkovlabs.io
Apache License 2.0
31 stars 0 forks source link

Plugin is not loading on dashbaord #198

Closed LironTectu closed 1 week ago

LironTectu commented 1 week ago

Hey guys

I've been having some issues with the plugin- sometimes it doesn't load when I open the dashboard on my machine (attaching screenshots)

The behaviour is that the dashboard is loaded on chrome and sometimes the plugin is displaying an error (plugin now found) The immidiate fix is to just reload the tab and it works (around 50% of the times it works fine)

I've tried checking the version and looks like the grafana version is ok (Grafana v11.0.0 (83b9528bce))

We've tried looking at the logs and we found one potential error, I'm not sure if it's related to the plugin: logger=context userId=16 orgId=1 uname=**** t=2024-08-28T07:09:09.891792365Z level=error msg="Internal server error" error="[plugin.downstreamError] client: failed to query data: Failed to query data: rpc error: code = Canceled desc = context canceled" remote_addr=10.32.9.195 traceID= logger=context userId=16 orgId=1 uname=**** t=2024-08-28T07:09:09.991937171Z level=error msg="Request Completed" method=POST path=/api/ds/query status=500 remote_addr=10.32.9.195 time_ms=600 duration=600.151908ms size=116

In addition, here are the Grafana yml file deployment configuration: resources.requests.cpu: "10m" resources.requests.memory: "40Mi" resources.limits.cpu: "100m" resources.limits.memory: "256Mi"

the existing ini is configured with the default settings, Will you be able also to send the recommended settings for the ini file, if there are any?

image image

mikhail-vl commented 1 week ago

@LironTectu Interesting issue, which I think related to the network connectivity than Grafana configuration.

The plugin.downstreamError error related to retrieving data from the data sources, not the retrieving plugin files. Do you use any proxy/firewall/rate-limiter which can block traffic between your browser and Grafana server?