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

Use the Canvas rendering pipeline/expressions for all visualizations #19813

Closed
47 of 58 tasks
timroes opened this issue Jun 12, 2018 · 4 comments · Fixed by #25996
Closed
47 of 58 tasks

Use the Canvas rendering pipeline/expressions for all visualizations #19813

timroes opened this issue Jun 12, 2018 · 4 comments · Fixed by #25996
Assignees
Labels
enhancement New value added to drive a business result Feature:ExpressionLanguage Interpreter expression language (aka canvas pipeline) Feature:Visualizations Generic visualization features (in case no more specific feature label is available) impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. loe:small Small Level of Effort Meta

Comments

@timroes
Copy link
Contributor

timroes commented Jun 12, 2018

To align rendering between Canvas and Kibana and to create a future proof architecture for all visualizations, we are planning to switch to the Canvas rendering pipeline for all visualizations.

That would mean, that all regular visualizations you do in Kibana are backed by a pipeline script.

To switch over we'll need to provide the following functions to the pipeline:

  • kibana (or named differently) to provide filters and queries from the Kibana context
  • esaggs to load aggregated data and provide it in a tabular format
  • visualization functions for each of our charts.

6.3

6.4

6.5

6.6

  • Remove IndexPatterns and queryFilter from Vis
  • move canvas interpreter to OSS

7.0 alpha

7.0

7.2

7.x

Make Kibana visualizations useable inside Canvas:
  • change how we handle filters
  • move to canvas datatable table format (remove kibana_table)
  • move to canvas context (remove kibana_context)
  • write visualize render function for canvas (related: Embed Kibana visualizations in Canvas #23035)
  • improve semantics of all visualize functions
  • Convert to New Platform plugin system
    • Explore server side migration first, since support is already there for it
Refactoring & cleanup
Functionality improvements & enhancements
  • Refactor Inspector to work with canvas pipeline (debugging, server side support, ...)

8.0

@timroes timroes added Feature:Visualizations Generic visualization features (in case no more specific feature label is available) Meta enhancement New value added to drive a business result labels Jun 12, 2018
@timroes timroes added the Feature:ExpressionLanguage Interpreter expression language (aka canvas pipeline) label Aug 8, 2018
@timroes timroes added the Team:Visualizations Visualization editors, elastic-charts and infrastructure label Sep 16, 2018
@timroes timroes changed the title Use the Canvas rendering pipeline for all visualizations Use the Canvas rendering pipeline/expressions for all visualizations Oct 30, 2018
@ppisljar
Copy link
Member

reopening since #25996 didn't address all of the topics mentioned above.

@epixa
Copy link
Contributor

epixa commented Jan 25, 2019

@timroes Can you describe at this point what you're currently targeting for 7.0? Specifically, will visualizations now be pipeline based, and will there be a required or automatic migration for existing visualizations to convert them over to the new pipeline-based format?

@ppisljar
Copy link
Member

we build expression out of our current savedobject/Vis on-the-fly
we still use old saved object/old vis for the editors, once you want to render it we convert it to expression and execute that expression with the interpreter.

@ppisljar
Copy link
Member

closing this as we have separate issues tracing remaining work

@exalate-issue-sync exalate-issue-sync bot added impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. loe:small Small Level of Effort labels Apr 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Feature:ExpressionLanguage Interpreter expression language (aka canvas pipeline) Feature:Visualizations Generic visualization features (in case no more specific feature label is available) impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. loe:small Small Level of Effort Meta
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants