Dashboard events like navigatedAway, close etc

  • What Grafana version and what operating system are you using?
    latest

  • What are you trying to achieve?
    I need to clean up some resources in my backend datasource plugin when the user navigates away of from one dashboard to another or when he/she has closed the dashboard.

  • How are you trying to achieve it?
    I am looking for Grafana dashboard events by which I can send a signal to my backend datasource on dashboard close to clean up server side resources (in Golang).

  • What happened?
    Any help on this is appreciated

  • What did you expect to happen?
    NA

  • Can you copy/paste the configuration(s) that you are having problems with?
    NA

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
    NA

  • Did you follow any online instructions? If so, what is the URL?
    NA