Missing analytic data

Not applicable

When running an analytic api (stat) for timeRange of 1 month of aggregation of 1 minute, the response doesn't contain all the data within the time range passed.

For example:

http://{{management_server}}:8080/v1/o/{{org}}/environments/{{env}}/stats/?select=sum(message_count)...

the response returns the results with the min timestamp of the response was 29 Oct 2015 17:20:00 GMT)

Is there any internal limit of the number of results?

I tried to run the same service passing the limit=1000 but the response is always the same?

Solved Solved
0 1 284
1 ACCEPTED SOLUTION

Not applicable

Hello Sawsan,

If fact, the default limit is 1000, which is the one you are using. This limit is not for how many dimensional items you see on the final response, but for how many events in total you are collecting, because you are using timeUnit=minute, and your range is for a month, you will have 60*24*30 = 43200 events, and you'll need a limit greater or equal to that number.

It is also important to note that if there is a period of time with no data (when no transactions were done), the corresponding timestamp will not be included in the response.

View solution in original post

1 REPLY 1

Not applicable

Hello Sawsan,

If fact, the default limit is 1000, which is the one you are using. This limit is not for how many dimensional items you see on the final response, but for how many events in total you are collecting, because you are using timeUnit=minute, and your range is for a month, you will have 60*24*30 = 43200 events, and you'll need a limit greater or equal to that number.

It is also important to note that if there is a period of time with no data (when no transactions were done), the corresponding timestamp will not be included in the response.