-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Meta] RFC: Enhancements to Trace Analytics Plugin #2141
Comments
Hi @ps48 Storage Layer : we should leverage the existing spark-flint-metadata indices that store the queries and indices used for each request and reuse these concepts so that in the future we could even use such federated queries for fetching the traces from outside of our internal indices UI Enhancements : we should allow both build-in widgets and also user (custom) build dashboards to be used as the default trace/services analytics viewport so that if a user has already created a dashboard to visualize some of these data-points it can be used within the same UI dialogs. In addition we should leverage our existing vega UX components to replace the existing services network graph & traces burn charts as well Query Optimization : The location of the aggregated data-points can be generalized using the Seamless Correlation : Correlation is basically a query that pre-joins / live-joins different indices using a know common key. We can again use the same general purpose mechanism (used in flint-spark) to define the queries including the metadata and direct to the results location index. |
Overview
The Trace Analytics plugin in OpenSearch Dashboards provides users with an intuitive interface to analyze and visualize trace data. Initially, the plugin supported integration with Data Prepper, and later extended support to the Jaeger schema. Since its introduction in ODFE 1.12 and OpenSearch 1.0, the plugin has functioned as a read-only solution. It currently does not store metadata and relies on browser session storage to maintain modes. This RFC outlines new features and enhancements aimed at improving storage capabilities, UI design, query performance, and seamless integration with other OpenSearch Dashboards plugins.
Plugin as it exists today
Proposed Enhancements
The proposed changes address the following requirements:
Storage Layer
.kibana
index.UI Enhancements
Query Optimization
Seamless Correlation
Architecture
The enhancements will involve the following architectural changes:
Storage Layer
A new storage layer will be integrated by utilizing the
.kibana
index for saving user-configured trace and service index configurations. This will allow for persistence across sessions and the use of custom index patterns.Optimized Query Execution
Refactor the current query execution strategy to better handle large datasets by querying pre-aggregated indices where available, particularly from Data Prepper. This will minimize the load on OpenSearch when performing aggregation-heavy queries, especially for large clusters.
Cross-Cluster Search
Enable cross-cluster querying, allowing users to pull trace data from multiple clusters, enhancing the scalability of the Trace Analytics plugin.
UI Design
The new UI will focus on consistency and usability:
Navigation Changes
Add dedicated pages for traces and services in the main navigation, making it easier for users to access each area.
Service Map Enhancements
The service map graph will be upgraded to support full-screen view and improved navigation, making it easier for users to analyze services visually.
Componentization
UI components like the trace table and service map will be refactored into reusable widgets, facilitating their use in different contexts across OpenSearch Dashboards.
Appendix
The text was updated successfully, but these errors were encountered: