Hi all, The above widget[1] fetches data from the invocation aggregation for a specific period. Even though the Date Time Range Filter consists of granularity selector, the fetch query is hardcoded to "minute" granularity [2] .
[image: Screen Shot 2018-09-26 at 4.53.37 PM.png] For argument sake, let's say the API was not invoked for the last 3 days, here even if the user selects "*7 Days per Day*", we would not be showing any data, since the "Minute" table only keeps records for last 3 days due to purging. IMO, this is misleading. Shall we fix it such that the user selected granularity is passed to the query itself? Your thoughts on the matter are appreciated. [1] https://docs.wso2.com/display/EI640/Analyzing+the+ESB+Profile+Statistics+Overview#AnalyzingtheESBProfileStatisticsOverview-TopAPIsbyRequestCount [2] https://github.com/wso2/analytics-solutions/blob/master/components/ei-analytics/org.wso2.analytics.solutions.ei.analytics/widgets/EIAnalyticsHorizontalBarChart/src/resources/widgetConf.json#L17 Best Regards, *Niveathika Rajendran,* *Senior Software Engineer.* *Mobile : +94 077 903 7536*
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
