28 started using the inject_dropdowns=False kwarg for grafana, but unfortunately it is called only if there is a change in the git repo hash. This means that the dashboards are not reinitialized after startup. This PR takes that into consideration, and makes sure dashboards are reinit'ed even if the hash is the same, but only once.
Solution
Add another key to the (peer relation) "stored" state.
Fixes #27 (for real this time 🤞 ).
Testing Instructions
Deploy load test and refresh from path with this revision. Dashboard shouldn't have topology dropdown.
Release Notes
Be sure to reinit dashboards without topology dropdowns.
Issue
28 started using the
inject_dropdowns=False
kwarg for grafana, but unfortunately it is called only if there is a change in the git repo hash. This means that the dashboards are not reinitialized after startup. This PR takes that into consideration, and makes sure dashboards are reinit'ed even if the hash is the same, but only once.Solution
Add another key to the (peer relation) "stored" state. Fixes #27 (for real this time 🤞 ).
Testing Instructions
Deploy load test and refresh from path with this revision. Dashboard shouldn't have topology dropdown.
Release Notes
Be sure to reinit dashboards without topology dropdowns.