Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revise folder/dashboard naming and set uids #119

Open
3 tasks
consideRatio opened this issue Apr 13, 2024 · 0 comments
Open
3 tasks

Revise folder/dashboard naming and set uids #119

consideRatio opened this issue Apr 13, 2024 · 0 comments

Comments

@consideRatio
Copy link
Member

consideRatio commented Apr 13, 2024

We have partial use of unique ids for folders and dashboards specified. Searching for withUid shows that some but not all dashboards have unique id's.

Only one dashboard can be around with a unique id name, so if you deploy dashboards to another folder, they are relocated to the new folder and not duplicated.

Goals

  • Consistently set UIDs for our dashboards
  • Human readable default UIDs, as hardcoding them makes them non-unique globally anyhow
  • Allow deploy.py to adjust UIDs in a way to deploy another set of dashboards in a folder without UID conflicts

Research

# pattern and example of viewing a dashboard
https://grafana.example.com/d/<dashboard-uid>/<url-friendly-dashboard-name>
https://grafana.example.com/d/616bafe7a50d5065/global-usage-dashboard

# pattern and example of viewing a folder's dashboards
https://grafana.example.com/dashboards/f/<folder-uid>/<url-friendly-folder-name>
https://grafana.example.com/dashboards/f/70E5EE84-1217-4021-A89E-1E3DE0566D93/jupyterhub-default-dashboards
@consideRatio consideRatio changed the title Folder and dashboard ids Consistent and intentional use of folder / dashboard unique ids Apr 13, 2024
@consideRatio consideRatio changed the title Consistent and intentional use of folder / dashboard unique ids Revise folder/dashboard naming and set uids Apr 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant