localstack.apigateway.integration.latency
Backend integration latencyDimensions:None
Available on:Native (1)
Interface Metrics (1)
Native
Time spent in backend integration execution in millisecondsDimensions:None
Technical Annotations (45)
Configuration Parameters (7)
GATEWAY_LISTENrecommended: :4566,:80,:443PROVIDER_OVERRIDE_APIGATEWAYrecommended: next_gen$context.integration.latencyintegration_timeoutrecommended: >29 seconds for long-running operationsAPIGW_ENABLE_NEXT_GEN_WEBSOCKETSrecommended: 1Statisticrecommended: AveragePeriodrecommended: 5 minutesError Signatures (6)
504http statusGateway TimeOut ExceptionexceptionInternal Server Errorlog pattern500http statusError raised during invocation: Internal Server Errorlog patternMethod completed with status: 504log patternCLI Commands (3)
curl -v http://local-alb.elb.localhost.localstack.cloud/accounts/healthdiagnosticcurl -v https://50b2495d.execute-api.localhost.localstack.cloud:4566/local/accounts/healthdiagnosticaws apigatewayv2 update-integration --api-id abcd1234 --integration-id aaabbb --request-parameters 'integration.request.header.someHeaderParam'='route.request.body.someBodyParam'diagnosticTechnical References (29)
API Gateway DashboardcomponentCloudWatchcomponentOPTIONSprotocolPOSTprotocolIntegrationLatencycomponentLatencycomponentmapping templatescomponentLambda authorizercomponentINITconceptcold startconceptLambda function handlercomponentREPORT statementsconceptIntegration LatencyconceptCloudWatch LogscomponentREST API GatewaycomponentHTTP API Gatewaycomponentprovisioned concurrencyconceptcold startsconceptAPIGW v2 HTTP Endpointcomponentlocalhost.localstack.cloudcomponentTwistedWebcomponentJWT authorizercomponentresource-based policycomponentAPI Gateway REST APIcomponentasynchronous invocationconceptAPI Gateway WebSocketcomponentroute.request.bodyconceptintegration.request.headerconceptrequest-parameterscomponentRelated Insights (14)
API Gateway Dashboard metric averaging creates misleading latency comparisonwarning
▸
Lambda backend delays when IntegrationLatency equals Latencywarning
▸
API Gateway processing delays when IntegrationLatency is lowwarning
▸
Lambda cold starts increase IntegrationLatencywarning
▸
API Gateway integration latency exceeds 29 seconds causing 504 timeoutcritical
▸
Lambda cold starts increase API Gateway integration latencywarning
▸
REST API Gateway has higher latency than HTTP API Gatewayinfo
▸
API Gateway returns 500 when proxying to ALB on port 80critical
▸
X-Ray tracing underreports end-to-end API Gateway latencyinfo
▸
JWT authorizer causes unexplained latency overhead in HTTP API Gatewaywarning
▸
API Gateway IntegrationLatency spike causes 504 timeoutcritical
▸
API Gateway integration timeout exceeds 29-second default limitcritical
▸
API Gateway WebSocket body parameters not mapped to integration headerswarning
▸
Microservice API latency exceeds SLA thresholdscritical
▸