fix: Filter out values not supported by Explore yet #15281

(cherry picked from commit 6f9edf4a22)
This commit is contained in:
Johannes Schill
2019-02-25 10:03:40 +01:00
committed by Leonard Gram
parent d85a4c3dd0
commit 28d5737221
@@ -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,