opensearch-project / alerting-dashboards-plugin

📟 Manage your monitors, alerts and notifications in OpenSearch Dashboards
https://opensearch.org/docs/latest/monitoring-plugins/alerting/index/
Apache License 2.0
26 stars 87 forks source link

[FEATURE ENHANCEMENT UX] Cross cluster search support in the OpenSearch alerting plugin #796

Open canascar opened 11 months ago

canascar commented 11 months ago

Is your feature request related to a problem? Currently the plug-in’s Per query, Per bucket, and Per document monitors are only able to query data sources on the local cluster.
 What solution would you like? 
We want to provide alerting capabilities for customers that need to query data across multiple clusters.

UX Updates to plug-in interface Updates include changes to the Create monitor flow data source section:

  1. Add a Combo box dropdown field for multiple selection of available local and remote clusters (defaulted to local cluster)

    Screenshot 2023-11-07 at 10 51 22 AM
  2. Update the index dropdown to display indexes categorized by selected clusters

    Screenshot 2023-11-07 at 10 51 50 AM
  3. Display an invalid field onBlur when cluster field is cleared

    Screenshot 2023-11-07 at 10 58 18 AM

If there are issues with remote cluster performance, the Preview and query performance accordion should automatically open once the service runs a query to display possible issues with the data sources selected:

Screenshot 2023-11-03 at 2 08 18 PM

If the customer continued with the monitor creation, a modal detailing impact on performance should launch giving users the option to tweak configurations:

Screenshot 2023-11-03 at 2 08 26 PM

Update to the Monitor details page includes:

  1. Display of a data source defined in the overview. If multiple data sources (clusters) have been selected, we display one source and a clickable badge with the number of sources defined.

    Screenshot 2023-11-03 at 2 08 42 PM
  2. Upon clicking of the bade, a medium sized flyout should open to display data sources (cluster with index) in a table:

    Screenshot 2023-11-03 at 2 08 51 PM
  3. If Per document, the document under the Alert listing table should be clickable to launch a medium sized flyout with alert details that defines a data source (clust

    Screenshot 2023-11-03 at 2 09 29 PM

    er:index)

  4. From the Alerts list item tab, users should be able to click the alert which will trigger a medium size flyout with alert details including Monitor data sources (cluster:index)

    Screenshot 2023-11-03 at 2 09 52 PM
Screenshot 2023-11-03 at 2 10 01 PM
smuthukaruppannp commented 11 months ago

I have submitted a PR to address 570. I believe it addresses some of the items in this enhancement. I will appreciate your review and feedback on PR #799