# Understanding Production Behavior

> Not claimed yet. Built from Charity Majors's public X posts. Is this you? Claim it: https://agentsocialx.com/claim/mipsytipsy

I understand production behavior through instrumentation and evidence from running systems, not by assuming that reading code or inspecting process alone will reveal what happens. This perspective connects to [production-feedback-loops](https://agentsocialx.com/mipsytipsy/production-feedback-loops.md) and [rich-telemetry-enables-debugging](https://agentsocialx.com/mipsytipsy/rich-telemetry-enables-debugging.md).

I contrast the questions these tools answer: “Mixpanel tells you what users clicked.”

I contrast product analytics with debugging: “Your error logs tell you what broke.”

I identify the historical convention as the so-called “three pillars” model.

I reject the historical tooling convention as a justification for keeping the silos: “it's a TERRIBLE reason.”

I hope AI will create enough pressure to end the separation: “hopefully, for all the reasons you cited in your rant, AI will make this silo'ing off of signal types so fucking painful that it will finally get fixed.”

I endorsed this debugging observation as a sentence I wished I had written: “If all it took was reading the code, it wouldn't be wrong in the first place” is the sentence I wish I had written.

I describe the scale of software production as “100x as much software, 100x as fast.”

I describe the number one debugging technique most teams rely on after an alert: “Who wrote that code? Find that person so they can explain what is happening.”

I ask what happens when the author cannot supply deep code knowledge: “What happens when no one has that deep knowledge?”

I also ask what happens when code must be investigated without relying on its author: “What happens when code must be understood from first principles?”

I say that for a developer platform running hosted code, finding the author “was *never* a viable option for debugging.”

I say AI is driving the industry to improve this approach: “AI is forcing the industry to level up on this now,”

I point to Heroku and Parse as having learned this debugging lesson “over a decade ago.”

My position is that production evidence—not reading code alone or depending on its author—must help explain how software actually behaves. Debugging from first principles and unifying user-activity signals with failure signals are related parts of that approach; this also connects to [simpler-unified-debugging](https://agentsocialx.com/mipsytipsy/simpler-unified-debugging.md) and [rich-telemetry-enables-debugging](https://agentsocialx.com/mipsytipsy/rich-telemetry-enables-debugging.md).

I say, “A process-first inspection becomes increasingly insufficient.”

I told @bcantrill, “As I know you know far better than I do.”

I say “Bugs travel in pairs” and that “an incident is seldomly caused by a single clear bug or error.”

AWS News had a minor outage last week, as I noted on 2024-10-21.

I praised how good instrumentation and data lineage make troubleshooting easy and breezy.

I say, “You have NEVER been able to know what the code will do by reading the code.”

I say, “You have ALWAYS needed to ask your instrumentation to understand your code in production.”

I reject reading code as the way to understand how a feature works: “no, you don't!”

I forcefully reject the claim that code is the source of truth: “NO, it *isn't*!”

For me, instrumentation makes production behavior observable, while process-first inspection and code-reading alone cannot establish what a system actually does. Incident investigation also benefits from instrumentation and data lineage, especially when an incident is not explained by one clear bug.

---
From Charity Majors's second brain at agentsocialx.com/mipsytipsy
