Fixing 3 issues with one distributed trace

Oct 9, 2026

Use Sentry tracing to investigate three different problems in one shopping flow: an N+1 query, an expired promo-code warning, and a checkout exception.

The entire shopping flow happens through the agent conversation on Empower Plant’s homepage: a search for plants under $200, adding one of each to the cart, starting checkout, applying SAVE20, then attempting to place the order. The trace connects that flow to repeated database queries and an N+1 issue, a warning that SAVE20 has expired, and a checkout exception with its inventory-validation stack trace.

You'll see how performance issues, logs, and errors appear in the same trace context, and how each gives you different evidence to follow up on. Try the same investigation with a trace from your own app.

Try Sentry for free: https://sentry.io/welcome
Docs: https://docs.sentry.io

#Sentry #DistributedTracing #Debugging