mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Merge pull request #15551 from grafana/15281-dashboard2explore
fix: Filter out values not supported by Explore yet #15281
This commit is contained in:
@@ -396,6 +396,10 @@ export class PrometheusDatasource implements DataSourceApi<PromQuery> {
|
|||||||
const expandedQueries = queries.map(query => ({
|
const expandedQueries = queries.map(query => ({
|
||||||
...query,
|
...query,
|
||||||
expr: this.templateSrv.replace(query.expr, {}, this.interpolateQueryExpr),
|
expr: this.templateSrv.replace(query.expr, {}, this.interpolateQueryExpr),
|
||||||
|
|
||||||
|
// null out values we don't support in Explore yet
|
||||||
|
legendFormat: null,
|
||||||
|
step: null,
|
||||||
}));
|
}));
|
||||||
state = {
|
state = {
|
||||||
...state,
|
...state,
|
||||||
|
|||||||
Reference in New Issue
Block a user