Define analytics
Create custom analytic functions for window processing that drive advanced analytic use cases
Pre-computed metrics generated by the Metrics Engine can be used within a custom processing component. For example, events could be filtered by user-defined metrics using time intervals, scoring models use metrics as part of the input feature space or build KPIs that combine metrics with event data.
Development steps
API
The below API is provided for developers to implement.
Development steps
Implement AnalyticsFunction interface
Validate and test
Deploy
Add to a use case DSL
Explaining each step
Step 1: Implement AnalyticsFunction interface
See the Bollinger bands example
Step 2: Build, test and package
The template project provides basic JUnit test to validate DSL. The project will execute these tests during the gradle build cycle and deploy to your local maven repository.
Step 3: Deploy
Once your package has been successfully created you are ready to deploy to a Joule project. The resulting jar artefact needs to be placed in to the userlibs
directory in your Joule projects directory. See provided examples documentation for further directions.
Step 4: Add to a use case DSL
Now the jar is created and deployed the use case can use the implementation within the DSL definition file.
Example
Last updated