-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[expressions] inspector alerting adapter #78277
Copy link
Copy link
Closed
Labels
Feature:ExpressionLanguageInterpreter expression language (aka canvas pipeline)Interpreter expression language (aka canvas pipeline)Feature:InspectorInspector infrastructure and implementationsInspector infrastructure and implementationsimpact:highAddressing this issue will have a high level of impact on the quality/strength of our product.Addressing this issue will have a high level of impact on the quality/strength of our product.loe:mediumMedium Level of EffortMedium Level of Effort
Metadata
Metadata
Assignees
Labels
Feature:ExpressionLanguageInterpreter expression language (aka canvas pipeline)Interpreter expression language (aka canvas pipeline)Feature:InspectorInspector infrastructure and implementationsInspector infrastructure and implementationsimpact:highAddressing this issue will have a high level of impact on the quality/strength of our product.Addressing this issue will have a high level of impact on the quality/strength of our product.loe:mediumMedium Level of EffortMedium Level of Effort
Type
Fields
Give feedbackNo fields configured for issues without a type.
In order to support alerting on expressions a new adapter should be added to inspector, to which every function producing a
renderoutput type should log the received datatable decorated with information about dimensions.Alerting requires a predictable data structure it can generate alerts on. As every function that outputs
rendertype can output anything we cannot use that directly. One of the options discussed was dropping that last function from expression to get the raw data before it was pre-processed by the chart function, however that has certain limitations for example chart might be receiving the actual data as one of the arguments instead on the input context.Also, to make it easier for user to configure the alert it would be beneficial if we would know more than just the actual data but dimension information with it, like column 1 is X axis value and column 2 is Y axis value.
All of this information is only available to the chart function that outputs the
rendercontext type, so this function should log this data to this new inspector adapter.Proposed structure on the
alertinginspector adapter: