Finding performance wins in our own traces with a coding agent

A Sentry engineer used a coding agent connected to Sentry’s own tracing system to identify and fix backend performance problems. Over several weeks, small code changes removed hundreds of millions of queries per week, while some expensive lookups became hundreds or thousands of times faster. The process began by ranking frequently executed, slow spans and asking the agent to find similar opportunities on critical application paths.

AI-written summary, checked against the cited sources. How summaries work

Image: Sentry Blog

Read at Sentry Blog