Skip to content

[Feature]: LiveReload support from Grafana #199

@dg-nvm

Description

@dg-nvm

What problem would this solve?

We need to work iterativelly on dashboards using grafanactl serve.
For now any change reloads whole webpage, which breaks the flow that changes just appear live
We would like to have support for Grafana Live websocket connection to push the message to the Frontend that dashboard changed

Describe your ideal solution

I'd like the grafanactl when detecting change to the dashboard, issue a live event instead of reloading whole using another livereload script. It would get a whole dashboard in WebSocket message and can apply it silently without reloading page

Who would benefit and how?

As a platform engineer, I would have easier time developing common dashboards and comparing how changes impact them, because I would not have to comment out a lot of code to get rid of things I am not working on actively

Have you tried any workarounds?

Removing things that are not being worked right now is the only solution, to focus only on one panel at the time.

How important is this to you?

Medium - Would improve my workflow

How would you know this is working well?

Whenever I do a change to dashboard script, grafanactl serve server watches the event and instead of reloading the webpage, it would use Javascript in-background replacement so things can appear/disappear without breaking the UI

Metadata

Metadata

Assignees

No one assigned
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions