Add a dashboard id to dashboard .yml files
Goal
Dashboards, should be identifiable so we don't depend on their file name to make references to them can be linked to other entities such as annotations, embed links, alerts, etc...
Currently a dashboard is identified by its file name.
Proposal
Add a new optional dashboard id
field that is unique to a namespace + project.
When such a field is missing, the backend should use the file name for backward compatibility.
Additional tasks
-
Dashboard duplication should account for the creating a new id. -
Embed links should link to a dashboard id. -
Having ids in the dashboard should be validated by the backend
Edited by Miguel Rincon