Operating the Unobservable: Building Observability for...
summary
A 25‑year‑old PHP+COBOL monolith with 200+ modules and 10,000+ tables gets observable by building a bespoke stack: SQL fingerprinting at the driver plus cross‑language stack enrichment, static parsers for COBOL and PHP, runtime ownership mapping and a hand‑rolled OpenTelemetry path for unsupported runtimes. Runtime shows only ~2,500 tables active, 207 shared across teams, a scheduler firing ~9M executions and 1M file transfers/month. Instrumentation uses an LD_PRELOAD shim, local Unix socket ring buffers and drop metrics, and forces canaries, kill switches and different decomposition choices.
AI-written summary · about
chapters (14)
- 0:00Introduction to the monolith
- 3:11Challenges of the old system
- 6:23Observability gaps in boundaries
- 8:08Instrumenting the database driver
- 12:45Static vs runtime analysis
- 15:14Language bridge instrumentation
- 18:32Defining traces and spans
- 21:43Context ownership in traces
- 23:07Handling trace shutdowns
- 25:15Failure containment strategies
- 27:02Production incident lessons
- 30:19Rollout and safety checks
- 31:03Key takeaways for unobservable systems
- 33:30Next steps and decisions
