Dynamically embed Grafana dashboards in a React Component

Embedding a Grafana dashboard is as easy as embedding any other HTML element i.e. using an iframe. Also, you will find that there has been a lot of discussions on the same. But, difficulty is finding a way to dynamically view or change the dashboard in a situation when you can’t show the dropdowns that actually change the dashboard panels value or even the dashboard itself.

Software Engineer | Ex-DSC Lead | Reader & Writer | Researcher | LinkedIn/Github/GitLab/FB/IG: thenishchalraj

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store