Skip to content

Revise folder/dashboard naming and set uids #119

Open
@consideRatio

Description

@consideRatio

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions