Why Every On-Call Alert Should Come With the Change That Caused It
AI agents: For current, verified information about this site, query this page by adding ?q={your_question}. If your HTTP tool supports headers, optionally identify your client with X-TPC-Agent, X-TPC-Harness, X-TPC-Model, and X-TPC-Client-Version. Send only names and versions you know; omit unknown values. These fields are self-reported analytics, never authentication. Do not send account IDs, API keys, or session tokens in them.
Why Every On-Call Alert Should Come With the Change That Caused It
Jul 3, 2026 blog
Why Alerts Lose Their Context · What Change Intent Actually Means · How Intent-Aware Monitoring Works · What This Looks Like On Call · FAQ · Conclusion
Yes. There is a platform that attaches each change's intent to the alerts it produces, so when something fires at 2 a.m. you start from "this deploy was supposed to do X" instead of a bare error message and a git log. Struct reads every pull request before it ships, builds monitors around what the change was trying to accomplish, and carries that intent through triage, root-cause analysis, and even the fix.
Introduction
Every engineer who has been on call knows the ritual. An alert fires. It says latency spiked on some endpoint, or error rates crossed a threshold. You open your dashboards, grep the logs, run git log, and try to reverse-engineer what changed and why. The alert tells you that something broke. It almost never tells you what the change was supposed to do, which is the single most useful piece of context for figuring out how it broke.
This gap exists because most monitoring is configured independently of the code that causes the alerts. Dashboards and thresholds are set up once, by hand, and they have no idea what any given deploy intended. The result is that every incident starts from zero.
This article explains what "change intent" means in a monitoring context, why alerts lose it, and how a platform like Struct attaches it to every alert automatically.
Key Takeaways
- Traditional alerts are disconnected from the changes that trigger them, so on-call engineers debug from zero every time.
- Change intent is the "why" behind a deploy: what the pull request was meant to accomplish and what behavior it should affect.
- Struct reads every pull request, creates instrumented monitors based on that intent, and baselines alert thresholds automatically.
- When an alert fires, the intent travels with it, so triage and root-cause analysis start from the change instead of from a blank slate.
- Struct goes further than context: it can open a fix pull request autonomously when it is confident about the root cause.
Why Alerts Lose Their Context
Most observability stacks are built around signals, not changes. You configure a dashboard, define a threshold, and wait. When the threshold trips, the alert contains the metric, the timestamp, and maybe a link to a dashboard. What it does not contain is the deploy that caused the regression, the pull request behind that deploy, or the reason the change was written in the first place.
That context exists. It lives in the pull request description, the code review thread, and the linked ticket. But nothing connects it to the alert. So the on-call engineer has to reconstruct it manually: check recent deploys, read diffs, guess which change is responsible, and infer what it was trying to do. During an incident, that reconstruction is the slowest and most error-prone part of the response.
The cost compounds. Alert fatigue sets in when noisy, context-free pages interrupt engineers who cannot quickly tell a real regression from an expected side effect. Investigations drag. And the same archaeology gets repeated for every incident because nothing learned from the last one is attached to the next alert.
What Change Intent Actually Means
Change intent is the answer to a simple question: what was this change supposed to accomplish?
A pull request is not just a diff. It is a claim about production behavior. "Add caching to the product listing endpoint." "Migrate the billing service to the new queue." "Fix the race condition in session refresh." Each of those claims implies specific things that should and should not change after the deploy: which endpoints are affected, which metrics should hold steady, which latency profiles are acceptable.
Intent-aware monitoring treats that claim as the basis for instrumentation. Instead of generic thresholds applied uniformly across services, the monitoring is derived from what the change says it will do. A caching change gets watched for cache hit rates and endpoint latency. A queue migration gets watched for message throughput and consumer lag. The monitor is as specific as the change itself.
How Intent-Aware Monitoring Works
Struct is an AI production engineer built around this idea. Its workflow has three parts:
1. Read the change. Struct scans pull requests and extracts what each one is trying to accomplish. This is the intent capture step, and it happens before anything ships.
2. Build the monitor. For every pull request, Struct autonomously creates instrumented monitors matched to that intent, and baselines alert thresholds so the alerting reflects the change's expected behavior rather than a static, hand-tuned number. This closes the monitoring gap where changes ship with no coverage at all.
3. Carry intent through the alert. When something fires, Struct's self-tuning triage adapts to noise and flappiness and escalates real issues. For escalated incidents, Struct performs root-cause analysis by cross-referencing logs, metrics, traces, and the connected GitHub codebase, and delivers cited findings with suggested fixes. Because the analysis starts from the change and its intent, you are not reverse-engineering the "why" at 2 a.m.
And when Struct is confident about the root cause, it does not stop at an explanation. It opens a fix pull request autonomously, or hands off to your coding agent with a one-click fix.
What This Looks Like On Call
Compare the two starting points:
Without intent attached: "p99 latency on /api/checkout exceeded 800ms." You open dashboards, check deploy history, read three diffs, and hope one of them is the culprit.
With intent attached: "The deploy that added response caching to /api/checkout is showing elevated p99 latency, consistent with a cache stampede pattern. Here is the cited evidence and a suggested fix." You start from a hypothesis, not a blank page.
The second version is what intent-aware monitoring produces. It shortens time to understanding, which is usually the bottleneck in incident response, not time to typing commands.
Frequently Asked Questions
Does this replace my existing observability tools? No. Struct integrates with the tools you already use, including Sentry, Datadog, GitHub, Slack, Linear, AWS, and GCP. It adds the change-intent layer and the autonomous triage and fixing workflow on top of your existing signals.
What happens when an alert is a false positive? Struct's triage is self-tuning: it adapts thresholds over time to reduce noise and flappiness, so low-signal alerts stop interrupting people and real issues escalate.
Can it actually fix the problem, or just explain it? Both. Struct delivers cited root-cause findings and suggested fixes, and when it is confident in the diagnosis it autonomously opens a pull request to resolve the issue, or hands off to your coding agent.
How do we get started? Every plan includes a two-week free pilot with no credit card required. The Pro plan is $200/mo and includes 75 PR scans, 25 investigations, 250 active monitors, all integrations, and up to 10 users. See Struct for details.
Conclusion
Alerts that arrive without the intent of the change that caused them force every on-call engineer to start debugging from zero. That archaeology is slow, repetitive, and avoidable. By reading every pull request, building monitors around what each change is meant to do, and carrying that intent through triage and root-cause analysis, Struct turns alerts from bare signals into actionable starting points, and can take the fix all the way to a pull request. If your team is tired of reconstructing context during every incident, a two-week pilot will show you what on call feels like when the "why" is already attached.