Analytics API output

Hi,

I am executing the following Analytics API and in the output i see one entry for global-avg-total_response_time. How do i skip this calue as i am not requesting this metric in my API request?

https://api.enterprise.apigee.com/v1/o/<org>/environments/qa/stats/organization,environment,develope... 00:00~05/03/2018 23:59&timeUnit=hour

Regards,

Rajeev S

0 3 375
3 REPLIES 3

The global-avg-total-response-time or global-avg-target-response-time are fields that aggregate the individual timeUnit values for corresponding avg-xxx-time. This saves some extra computation at the client if you have to do the aggregation. You can just skip the global-xxx metric result json fields if you do not want them

@spadmanabhan Is there a way we can skip that global-avg tags completely in the response by passing some flag?

I would be also curious if there is a way to exclude this metric from the API response.