mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Explore metrics: Fix warning message for limiting metrics (#93817)
don't show undefined error
This commit is contained in:
parent
570c5934d3
commit
7aaa4b241e
@ -287,8 +287,7 @@ export class MetricSelectScene extends SceneObjectBase<MetricSelectSceneState> i
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (missingOtelTargets) {
|
if (missingOtelTargets) {
|
||||||
metricNamesWarning +=
|
metricNamesWarning = `${metricNamesWarning ?? ''} The list of metrics is not complete. Select more OTel resource attributes to see a full list of metrics.`;
|
||||||
'The list of metrics is not complete. Select more OTel resource attributes to see a full list of metrics.';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
let bodyLayout = this.state.body;
|
let bodyLayout = this.state.body;
|
||||||
|
Loading…
Reference in New Issue
Block a user