Dash and Grafana

Hello All,

I am having trouble figuring out how to insert the graph created by Dash into Grafana panel.

For example:

I have this base example of Dash here: A Minimal Dash App | Dash for Python Documentation | Plotly

And I have plotly plugin in grafana.

How do I show this graph in Grafana and send the logs and data back and forth from Client side to Dash Backend? I am very confused.

1 Like

Do you want to insert the dash app in it’s entirety … or simply the plotly chart that is part of your dash app … if the latter then that’s the pattern I’ve typically seen per likes of:

and other such things that come up when you google “plotly grafana”

Hello Dave, thank you for the response.

So I want to insert a graph in the using the plotly plugin.
I used the plugin link which you mentioned and I have another graph (a scatter plot) using a datasource. Now I want this graph to update or refresh whenever I select a region. I can console log the x and y axis.

The problem I am stuck with is how to send these console log values to a dash server running the background so I can update the data sent back to the plotly graph.

Basically create a connection between front end plotly plugin graph to backend dash server.

I don’t find any documentation to do that in these plugins. i assume i need js knowledge to connect these things to backend.

Can you help me with that?