Merge pull request #16819 from jscheffner/prometheus-dashboard-uid

mixin: add uid to prometheus overview dashboard
This commit is contained in:
Matthias Loibl 2025-07-03 11:16:05 +02:00 committed by GitHub
commit 61064cb774
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -445,6 +445,7 @@ local row = panel.row;
dashboard.new('%(prefix)sOverview' % $._config.grafanaPrometheus)
+ dashboard.time.withFrom('now-1h')
+ dashboard.withTags($._config.grafanaPrometheus.tags)
+ dashboard.withUid('9fa0d141-d019-4ad7-8bc5-42196ee308bd')
+ dashboard.timepicker.withRefreshIntervals($._config.grafanaPrometheus.refresh)
+ dashboard.withVariables(std.prune([
datasourceVariable,