Snapshot of Grafana Dashboard

  • What Grafana version and what operating system are you using?
    Grafana v10.1.0 (ff85ec33c5)

  • What are you trying to achieve?
    I want the ability to save the dashboard at its current state at the time of taking that snapshot.

  • How are you trying to achieve it?
    using grafanalib

  • What happened?

  • I have created a cicd pipeline which in the end has dashboard that displays benchmarks visualisation of a proprietary software.
  • The framework is designed in such a way that the datasource is a MySQL database that is updated with latests benchmarks every night.
  • I want to freeze the state of dashboard visuals BEFORE they get updated with latest results.

Since the database updated with data from September 7 2023, the dashboard created on a previous date of Sep-2-2023 also got updated.
This is happening because the datasource is the same database which gets updated nightly.
So how to freeze the state of dashboard visuals before the database is updated with latest data?