Skip to content
This repository has been archived by the owner on Oct 5, 2021. It is now read-only.

wso2-attic/siddhi-execution-stats

Repository files navigation

siddhi-execution-stats

The siddhi-execution-stats extension is an extension to Siddhi that provides statistical functions for aggregated events. Currently this contains median function which calculate the median of aggregated events. Calculation of median is done for each event arrival and expiry, it is not recommended to use this extension for large window sizes.

Find some useful links below:

Latest API Docs

Latest API Docs is 2.0.0.

How to use

Using the extension in WSO2 Stream Processor

  • You can use this extension in the latest WSO2 Stream Processor that is a part of WSO2 Analytics offering, with editor, debugger and simulation support.

  • This extension is shipped by default with WSO2 Stream Processor, if you wish to use an alternative version of this extension you can replace the component jar that can be found in the <STREAM_PROCESSOR_HOME>/lib directory.

Using the extension as a java library

  • This extension can be added as a maven dependency along with other Siddhi dependencies to your project.
     <dependency>
        <groupId>org.wso2.extension.siddhi.execution.stats</groupId>
        <artifactId>siddhi-execution-stats</artifactId>
        <version>x.x.x</version>
     </dependency>

Jenkins Build Status


Branch Build Status
master Build Status

Features

  • median (Aggregate Function)

    This extension returns the median of aggregated events.
     As the calculation of the median is performed with the arrival and expiry of each event, it is not recommended to use this extension for large window sizes.

How to Contribute

Contact us

Support

  • We are committed to ensuring support for this extension in production. Our stats approach ensures that all support leverages our open development methodology and is provided by the very same engineers who build the technology.

  • For more details and to take advantage of this stats opportunity contact us via http://wso2.com/support/.