[+Adding Dev]

Hi Chamila,

In latest WSO2 SP RC1 pack, I ran the above scenario, the hour data
aggregates on calendar hour end time. Please note that is in GMT time zone,
ie. September 11, 2018 7:00:00 AM(Aggregation start time is 6AM in the
record) and 12.30 pm IST.
[image: Screenshot from 2018-09-11 12-31-16.png]

Only one event was send to test this scenario at around 12.20pm IST.

Best Regards,
*Niveathika Rajendran,*
*Software Engineer.*
*Mobile : +94 077 903 7536*





On Tue, Sep 11, 2018 at 12:13 PM Nuwan Dias <[email protected]> wrote:

> Shall we discuss these publicly please? I don't see a reason for us to
> discuss internally only.
>
> On Tue, Sep 11, 2018 at 12:00 PM Chamila Adhikarinayake <[email protected]>
> wrote:
>
>> APIM has latency graphs which shows day related graphs and we use hour
>> granularity to get the data within the day. following is the query
>>
>>
>> {"appName":"APIM_ACCESS_SUMMARY","query":"from ApiExecutionTimeAgg
>> on(apiName=='PizzaShackAPI' AND apiVersion=='1.0.0' AND
>> apiCreatorTenantDomain=='carbon.super') within 1536559540000L,
>> 1536645940000L per 'hours' select apiName, apiContext, apiCreator,
>> apiVersion, AGG_TIMESTAMP, responseTime, securityLatency,
>> throttlingLatency, requestMediationLatency, responseMediationLatency,
>> backendLatency, otherLatency;"}
>>
>>
>> While doing test, we noticed that with hours granularity, data is only
>> getting aggregated only when an event is sent to the SP. We tried it for
>> after keeping the system idle for more than one hour and didn't see the
>> latest data. once we send a request, above query returns the aggregated
>> data.
>>
>> isn't this aggregation suppose to work in the background?
>>
>> --
>> Regards,
>> Chamila Adhikarinayake
>> Associate Technical Lead
>> WSO2, Inc.
>> Mobile - +94712346437
>> Email  - [email protected]
>> Blog  -  http://helpfromadhi.blogspot.com/
>>
>
>
> --
> Nuwan Dias
>
> Director - WSO2, Inc. http://wso2.com
> email : [email protected]
> Phone : +94 777 775 729
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to