Commit e11edf3f by kay delaney Committed by GitHub

Explore: Includes context parameter when invoking getExploreState() from…

Explore: Includes context parameter when invoking getExploreState() from Prometheus datasource (#17569)

Closes #17457
parent c59f3084
......@@ -581,6 +581,7 @@ export class PrometheusDatasource extends DataSourceApi<PromQuery, PromOptions>
const expandedQueries = queries.map(query => ({
...query,
expr: this.templateSrv.replace(query.expr, {}, this.interpolateQueryExpr),
context: 'explore',
// null out values we don't support in Explore yet
legendFormat: null,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment