How to calculate number of transactions that have response times over a threshold?

We have SLA requirement that we need to meet/monitor. For example, for some of the APIs, the response time must be below 4 seconds for 99% of the time.

What's the best method to query this from analytics?

Update: We're on on-premise 4.19.06.

0 4 668
4 REPLIES 4

Are you using Apigee SaaS? If that's the case API Monitoring can help you obtain that info.

See https://docs.apigee.com/api-monitoring/metrics-api#traffic-latency

Unfortunately, no. I forgot to mention that I'm on on-premise 4.19.06. Is this available on-premise?

No , it is not.

Not applicable

You can use statistics collector policy with your total response time in the proxy. And later you can do the query in Postgres and get the information.