fix: Filter out values not supported by Explore yet #15281
(cherry picked from commit 6f9edf4a22)
This commit is contained in:
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,
|
||||
|
||||
Reference in New Issue
Block a user