Skip to content
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

[Discuss] Separate out data source configurations from existing visualization types #2823

Open
joshuarrrr opened this issue Nov 8, 2022 · 1 comment
Labels
enhancement New feature or request unified visualization UX visualizations Issues and PRs related to visualizations

Comments

@joshuarrrr
Copy link
Member

joshuarrrr commented Nov 8, 2022

Today, one of the implicit assumptions in OpenSearch Dashboards visualization and dashboard implementations is that the data source for any visualization is likely the result of a query to OpenSearch. As we move toward support for multiple datasources, we need to make sure our visualization abstractions clearly separate visualization options and configurations from the source of the data.

We already have some existing abstractions to assist with this - for example most visualization rendering expression functions take OpenSearchDashboardsDatatable as their input. But we need to make sure the visualization types themselves are data source agnostic. In addition, it should be much easier for developers to "bring their own data" to a visualization - including doing so without understanding or knowing about the expression plugin.

We may even need to add support for other types of data formats or structures, in order to efficiently render data results from PPL queries (as currently implemented in the Observability plugin.

@seraphjiang
Copy link
Member

@joshuarrrr @kavilla @mengweieric @ashwin-pc
are we achieved this goal in recent import ppl/sql to discover app project?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request unified visualization UX visualizations Issues and PRs related to visualizations
Projects
None yet
Development

No branches or pull requests

2 participants