We have all been there. It is 2:00 AM, and your phone starts screaming on the nightstand. You squint at the screen to see a cryptic alert: "login error rate jumped 5x." Your heart sinks because you know exactly what comes next. You crawl out of bed, open your laptop, and begin the frantic detective work.
You start digging through deployment logs and scrolling through a long list of recent Merge Requests. You check Slack to see who was active late in the day. You are under maximum pressure to figure out what shipped, which change touched the login flow, and who wrote the code. It is an hour of stress and guesswork while the error rates continue to climb.
This is the "on-call tax" that every developer pays, but it does not have to be this way. To solve this, I created Backtrace, a specialized GitLab agent and flow designed to turn that hour of panic into seconds of clarity.
What is Backtrace?
Backtrace is a GitLab Duo Agent and an automated flow that does the heavy lifting for you. Instead of leaving you with a wall of recent deploys and wishing you good luck, it traces a production incident backward through the software lifecycle.
When a production incident is opened, the Backtrace flow automatically assembles the answer. For example, in a real scenario where login failures are spiking, Backtrace can look at the data and tell you exactly what happened. It might report that login failures started right after the latest deployment to production. It identifies that the deploy shipped a specific Merge Request, which changed a file called auth/session.py on the failing path. It even tells you the author and the specific work item, such as "Tighten session expiry," so you know exactly where to start.
The Secret Sauce: GitLab Orbit
You might wonder how Backtrace is different from other AI tools. Most tools rely on LLM guesswork or simple keyword matching. Backtrace is different because GitLab Orbit powers it.
GitLab Orbit is a queryable knowledge graph that maps the hard facts of your development process. It connects the dots between environments, deployments, merge requests, changed code, and the people who wrote it. Without Orbit, this level of automation simply could not exist because no other tool maps deployments to code changes in one unified graph. My Backtrace agent uses these verifiable graph facts to follow every hop from the production crash back to the specific line of code that caused it.
Beyond Just Finding the Problem
Finding the problem is only half the battle. When production is broken, every second counts. Backtrace does more than just point a finger. It takes four instant actions to help you fix things:
- Traces the Graph: It maps the entire path from the environment failure back to the user who wrote the code.
- Ranks the Culprit: It matches the incident symptoms, like a login spike, against the files that were recently changed to find the most likely cause.
- Names a Rollback Target: It identifies the last good deployment that was running before things went wrong, so you know exactly where to revert.
- Pages the Right Humans: It assigns the incident to the original author, mentions the person who deployed it, and applies triage labels.
The Bottom Line
By leveraging the power of GitLab Orbit, the Backtrace agent and flow, change the narrative of incident response. It moves us away from frantic searching and brings us towards fact-based mitigation. When that pager goes off at 2 AM, you wonβt be starting a search from scratch. Instead, you will be looking at a solution that is already prepared for you.
Learn more about Backtrace: https://youtu.be/QUAIEHj3mVw
Top comments (0)