Checkout API
Elevated Error Rate
checkout-api
InvestigatingStarted
Metrics
Error rate
error_rateError rate rose from 0.8% to 18.4% after v2.31 at 13:45. Current 18.3%.
p95 latency
p95_latencyp95 rose from 420ms to 2.8s after the v2.31 deploy. Current 2.8s.
Request rate
request_rateTraffic rose from 20k/min to 24.1k/min. The increase is too small to explain the error-rate jump. Current 24.1k/min.
Timeline
Deployment v2.31
checkout-api shipped Optimize checkout query
p95 latency begins increasing
Checkout p95 leaves the 420ms baseline
DB latency increases
db.query duration climbs on checkout-api
Error rate increases
Checkout error rate leaves the 0.8% baseline
HTTP 500 rate spikes
Timeouts surface as 500s on /checkout
Alert triggered
Error-rate alert fires for checkout-api
Incident created
SEV-1 Checkout API — Elevated Error Rate
Traces
showing 14 of 14
| Trace ID | Time | Duration | Status |
|---|---|---|---|
| 13:53:42 | 3.82s | ERROR | |
| 13:56:07 | 2.98s | ERROR | |
| 13:54:18 | 3.41s | ERROR | |
| 14:30:01 | 3.43s | ERROR | |
| 14:28:59 | 3.34s | ERROR | |
| 14:27:59 | 3.06s | ERROR | |
| 14:26:57 | 1.26s | ERROR | |
| 14:19:51 | 3.43s | ERROR | |
| 14:16:48 | 1.07s | ERROR | |
| 14:11:50 | 3.57s | ERROR | |
| 13:55:35 | 3.03s | ERROR | |
| 13:15:00 | 3.81s | ERROR | |
| 12:38:34 | 3.88s | ERROR | |
| 12:25:20 | 3.61s | ERROR |
Select a trace to open the waterfall. Representative failed trace is .
Logs
showing 54 of 54
- ERROR
HTTP 500 POST /checkout duration=3428ms
checkout-api · · 284e1e77a0aa
- ERROR
database query exceeded 2s timeout
checkout-api · · 9f577ee2323d
- ERROR
context deadline exceeded
checkout-api · · 9f577ee2323d
- ERROR
request failed trace_id=2e5305ea6abe4d09 span_id=284e1e77a0aa
checkout-api · · 284e1e77a0aa
- ERROR
HTTP 500 POST /checkout duration=3336ms
checkout-api · · 8fe4eaa23a85
- ERROR
database query exceeded 2s timeout
checkout-api · · fa0dc89e517e
- ERROR
context deadline exceeded
checkout-api · · fa0dc89e517e
- ERROR
request failed trace_id=025cf66d8b200cd7 span_id=8fe4eaa23a85
checkout-api · · 8fe4eaa23a85
- ERROR
HTTP 500 POST /checkout duration=3064ms
checkout-api · · e619fad9a716
- ERROR
database query exceeded 2s timeout
checkout-api · · a0d02144afb3
- ERROR
context deadline exceeded
checkout-api · · a0d02144afb3
- ERROR
request failed trace_id=4773bfb802bfd891 span_id=e619fad9a716
checkout-api · · e619fad9a716
- ERROR
payment.authorize declined or timed out
checkout-api · · eb7c3681e629
- ERROR
request failed trace_id=1cad3a24d34ee541 span_id=eb7c3681e629
checkout-api · · eb7c3681e629
- ERROR
HTTP 500 POST /checkout duration=3433ms
checkout-api · · 74a29f91a790
- ERROR
database query exceeded 2s timeout
checkout-api · · 1f93621cd404
- ERROR
context deadline exceeded
checkout-api · · 1f93621cd404
- ERROR
request failed trace_id=908f68b86c0aa916 span_id=74a29f91a790
checkout-api · · 74a29f91a790
- ERROR
payment.authorize declined or timed out
checkout-api · · 4bd1abe928bd
- ERROR
request failed trace_id=e55cc8629c1da5d3 span_id=4bd1abe928bd
checkout-api · · 4bd1abe928bd
- ERROR
HTTP 500 POST /checkout duration=3574ms
checkout-api · · fa5e9785fc3d
- ERROR
database query exceeded 2s timeout
checkout-api · · 5d904316f770
- ERROR
context deadline exceeded
checkout-api · · 5d904316f770
- ERROR
request failed trace_id=5c7b0c2d5c604659 span_id=fa5e9785fc3d
checkout-api · · fa5e9785fc3d
- ERROR
HTTP 500 POST /checkout duration=2980ms
checkout-api · · 65fc9fc12ba1
- ERROR
database query exceeded 2s timeout
checkout-api · · b6ac113c77bc
- ERROR
context deadline exceeded
checkout-api · · b6ac113c77bc
- ERROR
request failed trace_id=bc73d11e90aa44c2 span_id=65fc9fc12ba1
checkout-api · · 65fc9fc12ba1
- ERROR
HTTP 500 POST /checkout duration=3031ms
checkout-api · · 1c8d1d08b5a5
- ERROR
database query exceeded 2s timeout
checkout-api · · 47a5827ebd71
- ERROR
context deadline exceeded
checkout-api · · 47a5827ebd71
- ERROR
request failed trace_id=106ad415a27388a0 span_id=1c8d1d08b5a5
checkout-api · · 1c8d1d08b5a5
- ERROR
HTTP 500 POST /checkout duration=3410ms
checkout-api · · dcbafda1aabb
- ERROR
database query exceeded 2s timeout
checkout-api · · 77614a57a2c4
- ERROR
context deadline exceeded
checkout-api · · 77614a57a2c4
- ERROR
request failed trace_id=9a31d42c18e07b55 span_id=dcbafda1aabb
checkout-api · · dcbafda1aabb
- ERROR
HTTP 500 POST /checkout duration=3820ms
checkout-api · · 8fd3c21a0001
- ERROR
database query exceeded 2s timeout
checkout-api · · 93ab4e21f006c8
- ERROR
context deadline exceeded
checkout-api · · 93ab4e21f006c8
- ERROR
request failed trace_id=8fd3c21a9b4d12ef span_id=8fd3c21a0001
checkout-api · · 8fd3c21a0001
- ERROR
Alert triggered: checkout-api error rate exceeded 5% threshold
checkout-api
- ERROR
HTTP 500 rate spike on POST /checkout
checkout-api
- ERROR
HTTP 500 POST /checkout duration=3811ms
checkout-api · · 5d3d93b37754
- ERROR
database query exceeded 2s timeout
checkout-api · · c53fa79f0c9a
- ERROR
context deadline exceeded
checkout-api · · c53fa79f0c9a
- ERROR
request failed trace_id=b8b28ef893c65244 span_id=5d3d93b37754
checkout-api · · 5d3d93b37754
- ERROR
HTTP 500 POST /checkout duration=3878ms
checkout-api · · e7fda381284d
- ERROR
database query exceeded 2s timeout
checkout-api · · 75e232181279
- ERROR
context deadline exceeded
checkout-api · · 75e232181279
- ERROR
request failed trace_id=f59acc3aec9b2de8 span_id=e7fda381284d
checkout-api · · e7fda381284d
- ERROR
HTTP 500 POST /checkout duration=3610ms
checkout-api · · 99f58166cf53
- ERROR
database query exceeded 2s timeout
checkout-api · · 655fece2aa12
- ERROR
context deadline exceeded
checkout-api · · 655fece2aa12
- ERROR
request failed trace_id=98e8645ef46a0ee0 span_id=99f58166cf53
checkout-api · · 99f58166cf53
Deployments
| Version | Time | Commit | Change |
|---|---|---|---|
| v2.31correlated | a91f2c | Optimize checkout query | |
| v2.30 | 83af31 | Payment retry improvements | |
| v2.29 | 824820 | Cart validation timeout padding | |
| v2.28 | ba1432 | Reduce checkout span cardinality | |
| v2.27 | a5855c | Feature flag for express checkout | |
| v2.26 | 97e18c | Address tax calculation edge case | |
| v2.25 | 6b2384 | Checkout session TTL increase |
Service graph
frontend depends on checkout-api, which calls payment-service, inventory-service, and user-service. Database is shown as a checkout-api dependency.