Skip to content

mixin: add uid to prometheus overview dashboard#16819

Merged
metalmatze merged 1 commit intoprometheus:mainfrom
jscheffner:prometheus-dashboard-uid
Jul 3, 2025
Merged

mixin: add uid to prometheus overview dashboard#16819
metalmatze merged 1 commit intoprometheus:mainfrom
jscheffner:prometheus-dashboard-uid

Conversation

@jscheffner
Copy link
Contributor

kube-prometheus-stack uses the mixin in a sidecar and for me it's recreating the same dashboard over and over again. The reason is probably that Grafana started to allow having multiple dashboards with the same title (grafana/grafana#105077) and Grafana no longer properly handles provisioning dashboards using a configmap if they don't have a uid (grafana/grafana#101397). I hope this will be fixed in Grafana but adding the uid seems like an easier solution.

Signed-off-by: jscheffner <jscheffner@users.noreply.github.com>
@jscheffner jscheffner requested a review from metalmatze as a code owner July 2, 2025 13:41
Copy link
Member

@metalmatze metalmatze left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this works, it looks good to me. 👍

@metalmatze metalmatze merged commit 61064cb into prometheus:main Jul 3, 2025
27 checks passed
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

Successfully merging this pull request may close these issues.

2 participants