Did you look at Metrics Histogram implementation? Can we use that? On Fri, Feb 19, 2016 at 11:49 AM, Sachini Jayasekara <[email protected]> wrote:
> Hi all, > > I am working on following two alert generation scenarios, > > 1. Abnormal response time/ backend time - If an API response time or the > backend time lies outside the Xth percentile. > > 2. Abnormal request counts - Count the number of requests during last > minute and check if it lies outside the Xth percentile. > > Since percentile calculation cannot be done with DAS, it was decided that > percentile calculation will be done using a siddhi extension. > > Extension will keep samples of each api (10000 records per api) and > percentile calculation is done to that particular sample. > Percentile calculation would happen in a daily basis. > > Your suggestions are welcome regarding the above approach. > > > Thanks, > Sachini > > > > > > > -- > > > > *Thanks & Regards,Sachini JayasekaraSoftware Engineer; **WSO2 Inc. * > > *lean . enterprise . middleware | http://wso2.com <http://wso2.com> * > > Mobile : +94712371165 > > _______________________________________________ > Architecture mailing list > [email protected] > https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture > > -- Isuru Perera Associate Technical Lead | WSO2, Inc. | http://wso2.com/ Lean . Enterprise . Middleware about.me/chrishantha Contact: +IsuruPereraWSO2 <https://www.google.com/+IsuruPereraWSO2/about>
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
