Technologies/LocalStack/localstack.http.server.request.duration
LocalStackLocalStackMetric

localstack.http.server.request.duration

HTTP request duration
Dimensions:None
Available on:OpenTelemetryOpenTelemetry (1)
Interface Metrics (1)
OpenTelemetryOpenTelemetry
Duration of HTTP server requests to LocalStack services
Dimensions:None

Technical Annotations (24)

Configuration Parameters (4)
healthcheck.timeoutrecommended: 10s
Doubled from default 5s to accommodate slower health check responses
healthcheck.start_periodrecommended: 15s
Grace period for container initialization before health checks count toward failure
healthcheck.intervalrecommended: 10s
Time between consecutive health checks
healthcheck.retriesrecommended: 3
Number of consecutive failures before marking container unhealthy
Error Signatures (5)
Health check exceeded timeout (5s)log pattern
-1exit code
500http status
InternalServerErrorerror code
timeouterror code
CLI Commands (5)
curl localhost:4566diagnostic
.venv/bin/localstack status services --format=jsondiagnostic
docker exec -it ls /bin/bashdiagnostic
while true; do time curl localhost:4566; sleep 0.1; donediagnostic
describe-security-groups --group-name microserviceXYZdiagnostic
Technical References (10)
port 4566componentdocker-compose healthcheckconceptservice_healthy conditioncomponentconnection poolconceptAPI GatewaycomponentIAM permissionsconceptenvironment variablesconfigurationhealth-check API endpointcomponentApplication Load Balancercomponentsecurity groupcomponent
Related Insights (6)
LocalStack container hangs on HTTP requests during SQS operationswarning
LocalStack health check timeout causes false unhealthy statuswarning
TCP connection pooling causes linear request latency degradationwarning
500 Internal Server Error prevents request fulfillment due to server-side failurescritical
Microservice health check endpoint unavailablecritical
Security group misconfiguration blocks load balancer trafficcritical