search cancel

API Gateway: Dashboard back end response time not including timeouts

book

Article ID: 190043

calendar_today

Updated On:

Products

CA API Gateway CA API Gateway Enterprise Service Manager (Layer 7) STARTER PACK-7 CA Microgateway

Issue/Introduction

When viewing the dashboard in policy manager we see a back end max value of 32 seconds while the front end response time is a little over 2 minutes.
Upon viewing the logs we can see a route failure has reached its timeout value of 2 minutes showing the error

Problem routing to https://backendsite/v1 Unable to obtain HTTP response from https://backendsite/v1: Read timed out. Timed out at 120000ms

Why does the back end not include the 2 minute timeout?

Environment

Release : 9.4

Component : API GATEWAY

Resolution

The back end response time is the time it takes for API Gateway to forward the request to the web service, then receive a response from the web service. The important part of this sentence is "receive a response from the web service". If a response is not received from the backend (ie: a timeout) the time is counted towards the front end.