Merge pull request #15551 from grafana/15281-dashboard2explore

fix: Filter out values not supported by Explore yet #15281
This commit is contained in:
Johannes Schill
2019-02-21 16:38:32 +01:00
committed by GitHub

View File

@@ -396,6 +396,10 @@ export class PrometheusDatasource implements DataSourceApi<PromQuery> {
const expandedQueries = queries.map(query => ({
...query,
expr: this.templateSrv.replace(query.expr, {}, this.interpolateQueryExpr),
// null out values we don't support in Explore yet
legendFormat: null,
step: null,
}));
state = {
...state,