Skip to content

[Grafana] Get dashboard by uid resource #2820

Open
@ChengYanJin

Description

@ChengYanJin

Component: ui, grafana

Why this is needed:
The current way to retrieve the dashboard is /grafana/dashboard/db/:slug(Slug is the URL friendly version of the dashboard title)

However, get dashboard by slug deprecated starting from Grafana v5.0. Please update to use the new Get dashboard by uid resource instead.

Since we have the control of Grafana version, we don't need to worry about this API. But we need to pay attention when we upgrade the Grafana version.

What should be done:
Generate our own UIDs and hardcode them in ConfigMaps.

Implementation proposal (strongly recommended):
TBD

Test plan:
TBD

Metadata

Metadata

Assignees

No one assigned

    Labels

    complexity:mediumSomething that requires one or few days to fixpriority:highHigh priority issues, should be worked on ASAP (after urgent issues), not postponedseverity:minorNo impact, or minor impact, on live deploymentstopic:uiUI-related issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions