mirror of
https://github.com/grafana/grafana.git
synced 2024-12-01 13:09:22 -06:00
Explore metrics: Fix bug when switching from OTel enabled Prometheus DS to non OTel PRometheus DS (#93941)
This commit is contained in:
parent
76406d65cd
commit
54ada3fc47
@ -504,6 +504,7 @@ export class DataTrail extends SceneObjectBase<DataTrailState> {
|
||||
this.setState({
|
||||
otelTargets,
|
||||
otelJoinQuery,
|
||||
useOtelExperience: false,
|
||||
});
|
||||
}
|
||||
}
|
||||
@ -550,6 +551,7 @@ export class DataTrail extends SceneObjectBase<DataTrailState> {
|
||||
this.setState({
|
||||
otelTargets: { jobs: [], instances: [] },
|
||||
otelJoinQuery: '',
|
||||
useOtelExperience: false,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user