Skip to content
IncidentOS
Production
Incidents
SEV-1

Checkout API

Elevated Error Rate

checkout-api

InvestigatingStarted

18.4%Errors
2.8sp95
24.1k/minreq/min
32%Impact

Metrics

Error rate

error_rate

Error rate rose from 0.8% to 18.4% after v2.31 at 13:45. Current 18.3%.

p95 latency

p95_latency

p95 rose from 420ms to 2.8s after the v2.31 deploy. Current 2.8s.

Request rate

request_rate

Traffic rose from 20k/min to 24.1k/min. The increase is too small to explain the error-rate jump. Current 24.1k/min.

Timeline

  1. Deployment v2.31

    checkout-api shipped Optimize checkout query

  2. p95 latency begins increasing

    Checkout p95 leaves the 420ms baseline

  3. DB latency increases

    db.query duration climbs on checkout-api

  4. Error rate increases

    Checkout error rate leaves the 0.8% baseline

  5. HTTP 500 rate spikes

    Timeouts surface as 500s on /checkout

  6. Alert triggered

    Error-rate alert fires for checkout-api

  7. Incident created

    SEV-1 Checkout API — Elevated Error Rate

Traces

showing 14 of 14

Trace IDTimeDurationStatus
13:53:423.82sERROR
13:56:072.98sERROR
13:54:183.41sERROR
14:30:013.43sERROR
14:28:593.34sERROR
14:27:593.06sERROR
14:26:571.26sERROR
14:19:513.43sERROR
14:16:481.07sERROR
14:11:503.57sERROR
13:55:353.03sERROR
13:15:003.81sERROR
12:38:343.88sERROR
12:25:203.61sERROR

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

VersionTimeCommitChange
v2.31correlateda91f2cOptimize checkout query
v2.3083af31Payment retry improvements
v2.29824820Cart validation timeout padding
v2.28ba1432Reduce checkout span cardinality
v2.27a5855cFeature flag for express checkout
v2.2697e18cAddress tax calculation edge case
v2.256b2384Checkout session TTL increase

Service graph

frontenderr 0.2% · p95 90ms
Healthy
checkout-apierr 18.4% · p95 2.8s
Critical
payment-serviceerr 0.4% · p95 380ms
Degraded
inventory-serviceerr 0.9% · p95 160ms
Degraded
user-serviceerr 0.1% · p95 70ms
Healthy
checkout-dbdependency of checkout-api
Healthy

frontend depends on checkout-api, which calls payment-service, inventory-service, and user-service. Database is shown as a checkout-api dependency.

Press Enter to send a message to the investigation agent.