opensearch-project / dashboards-observability

Visualize and explore your logs, traces and metrics data in OpenSearch Dashboards
https://opensearch.org/docs/latest/observability-plugin/index/
Apache License 2.0
16 stars 56 forks source link

[Bug fix] Metrics datasource #2242

Closed TackAdam closed 3 weeks ago

TackAdam commented 3 weeks ago

Description

While datasource is enabled, set initial condition to null and wait to render page until the selection/default is registered.

Currently if a localhost is not defined the call will trigger the search on a non valid datasource.

NoLocalHost

This change prevents the search call from being triggered until the datasource has been read.

https://github.com/user-attachments/assets/75e8559e-07dc-46d3-b9bf-fe127f83ee65

Issues Resolved

Check List

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.