User Defined Functions
Extending the analytics ecosystem through UDFs with the Analytics API
Overview
This analytic processor enables complex calculation to be executed using a provided analytical function implemented using the Analytics API. This feature also provides the ability to set a rolling number of events to be used with the calculation.
Leverage this feature for complex calculations and control the implementation complexity
Key Features
Pluggable
Analytics API
DSL support
Example
The analytic function ema
, Exponential Moving Average, is defined inline using the standard Joule DSL
Attributes
Further example
This example demonstrates how you would combine complex calculation with a final analytic expression to trigger an alert.
Example function implementation
The below is an implementation example for a custom analytics function. Further details can be found in the Analytics API documentation.
Last updated