Do we have any feature for auditing the Grafana Dashboard while we Insert/Update/Delete any dashboard?
Currently we are tracking it by using Triggers on Dashboard table and tracking it into other audit table. By using this approach we are able to track Insert/Update but in the delete process, we are unable to track who deleted the dashboard. Because in the delete Operation we are deleting the Entire row and who deleted the dashboard is not available.
To fulfill this we have an approach Before deleting the dashboard if we update who deleted the dashboard in updatedBy column then it will be good to track who deleted the dashboard. Below is the screenshot where we need to add an additional query to update dashboard table with who deleted the dashboard.
If we implement this we can completely audit who Inserted/Updated/Deleted the dashboard, and the complete history of the dashboard is also available on the Audit table and it would help admin’s very much.
Currently we are planning to implement this approach and send a Pull request to Grafana, Because it would be great if it is available in the Grafana GitHub repository, then it will reduce our manual work while we merging the code with the new version.
Could you please suggest us is there any other approach to fulfill this or any future implementations on auditing.