Damith, Just for the record, as discussed yesterday, these will be added to analytics.commons repo where we will keep all components that can be used commonly by "Analytics for X" efforts. @Miyuru: Can you add the other components we discussed to be added to this?
N.B. analytics.commons - not to be confused with carbon.analytics.commons which stores components common to the analytics platform (DAS,CEP,ML). seshi On Fri, Mar 25, 2016 at 9:59 PM, Damith Wickramasinghe <dami...@wso2.com> wrote: > Hi All, > > Apologies if this is already discussed. In ESB analytics there exist > component[1] (Custom UDFs) which has the capability of finding most > appropriate date Unit for the given time range which will provide best > possible data points to show in a chart. > Eg:- if the range is within a specific month then the best scale is to > get data in days. Above function will provide the date unit as DAY so that > we can retrieve the values in DAY table.(We are keeping the summarized data > in Year,Month,Day,Hour,Minute tables). > > Also another function gives us exact date slots as in minute range,hour > range,day range for given date range so that would be helpful to calculate > stats. > > We are using same table structure in IS Analytics and we need to reuse > above components. Also I think keeping these in a common place will provide > benefit to other analytics products as well. > > WDYT? > > [1] > https://github.com/wso2/analytics-esb/tree/master/components/org.wso2.carbon.analytics.esb > > Regards, > Damith. > > > -- > Software Engineer > WSO2 Inc.; http://wso2.com > <http://www.google.com/url?q=http%3A%2F%2Fwso2.com&sa=D&sntz=1&usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg> > lean.enterprise.middleware > > mobile: *+94728671315 <%2B94728671315>* > >
_______________________________________________ Architecture mailing list Architecture@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture