jupyterhub / grafana-dashboards

Grafana Dashboards useful for k8s + JupyterHub
https://jupyterhub-grafana.readthedocs.io
BSD 3-Clause "New" or "Revised" License
55 stars 23 forks source link

Revise folder/dashboard naming and set uids #119

Open consideRatio opened 6 months ago

consideRatio commented 6 months ago

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

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