SatyamPandey-07 opened a new issue, #9175: URL: https://github.com/apache/devlake/issues/9175
### Search before asking - [x] I had searched in the [issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and found no similar issues. ### What happened Following the merge of PR #9160, the new Grafana IRM dashboard was copied to dialect-specific directories (grafana/dashboards/mysql/grafana-irm.json and grafana/dashboards/postgresql/grafana-irm.json), but a duplicate file was also left at the root level in grafana/dashboards/grafana-irm.json. In the container build (grafana/Dockerfile), the entire dashboards directory is copied into /etc/grafana/dashboards. When Grafana starts with DATABASE_TYPE=mysql: 1. entrypoint.sh deletes /etc/grafana/dashboards/postgresql. 2. /etc/grafana/dashboards/grafana-irm.json and /etc/grafana/dashboards/mysql/grafana-irm.json remain on disk with the identical UID: "uid": "grafana-irm-dashboard". 3. Grafana's file provider provisions dashboards recursively, encountering both files and throwing a duplicate UID collision: ### What do you expect to happen , ### How to reproduce . ### Anything else . ### Version hh ### Are you willing to submit PR? - [x] Yes I am willing to submit a PR! ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
