[Canvas] Workpad Templates are using demodata function for not dynamic elements (e.g. markdown) #94521
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Canvas
Feature:ExpressionLanguage
Interpreter expression language (aka canvas pipeline)
impact:needs-assessment
Product and/or Engineering needs to evaluate the impact of the change.
loe:needs-research
This issue requires some research before it can be worked on or estimated
Team:Presentation
Presentation Team for Dashboard, Input Controls, and Canvas
Kibana version: 7.2+ (after #35745)
Describe the bug:
The built-in Workpad templates are using
demodata
for static elements.This generates 2 issues:
demodata
is re-generated every time on server side, making the Canvas feel slowAs a side effect, reporting can fail and can generate a lot of useless load on Kibana server (due to calls to
/api/canvas/fns
, which includedemodata
)Steps to reproduce:
demodata
Expected behavior:
If the
markdown
is not dynamic or relying ondemodata
, let's remove them.Bonus:
It would be great to have a way to detect the final element rendering is static (not relying on any dynamic data) and ignore any dynamic source.
The text was updated successfully, but these errors were encountered: