Grafana dashboard UID too long

Open Beginner friendly
#160 16 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
grafana, helm

Research direction

Start by locating the dashboard template in the Helm chart that uses the xpumd.fullname expression for its UID, then inspect how the dashboard is deployed. Done means Grafana accepts the dashboard UID within its 40-character limit when deploying through the chart.

Written by the indexing model from the issue text.

Description

Not sure if this is a problem just on my configuration but I'm getting the following error from grafana when deploying the dashboard through the helm chart:

logger=provisioning.dashboard type=file name=sidecarProvider t=2026-08-17T06:31:20.942905212Z level=error msg="failed to save dashboard" file=/tmp/dashboards/dashboard.json error="uid too long, max 40 characters"

The dashboard uid seems to be 42 characters, so it appears that this hits a grafana internal limit.

Ah I see, the dashboard uses "uid": "{{ include "xpumd.fullname" . }}-dashboard". This should probably just be a static uid, there is no reason to have a dynamic uid imo.

Dominant language
C++
Stars
195
Forks
34
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from intel/xpumanager

All issues in intel/xpumanager

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.