add public dashboard token to metric panel issued queries (#57293)

This commit is contained in:
Michael Mandrus 2022-10-19 13:29:19 -04:00 committed by GitHub
parent 8a35cb57fa
commit 86b0581021
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -200,6 +200,7 @@ class MetricsPanelCtrl extends PanelCtrl {
timeRange: this.range,
maxDataPoints: panel.maxDataPoints || this.width,
minInterval: panel.interval,
publicDashboardAccessToken: this.dashboard.meta.publicDashboardAccessToken,
scopedVars: panel.scopedVars,
cacheTimeout: panel.cacheTimeout,
transformations: panel.transformations,