Explore metrics: Fix warning message for limiting metrics (#93817)

don't show undefined error
pull/93825/head
Brendan O'Handley 8 months ago committed by GitHub
parent 570c5934d3
commit 7aaa4b241e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 3
      public/app/features/trails/MetricSelect/MetricSelectScene.tsx

@ -287,8 +287,7 @@ export class MetricSelectScene extends SceneObjectBase<MetricSelectSceneState> i
}
if (missingOtelTargets) {
metricNamesWarning +=
'The list of metrics is not complete. Select more OTel resource attributes to see a full list of metrics.';
metricNamesWarning = `${metricNamesWarning ?? ''} The list of metrics is not complete. Select more OTel resource attributes to see a full list of metrics.`;
}
let bodyLayout = this.state.body;

Loading…
Cancel
Save