Observability by default

Every scaffolded service ships with metrics, structured logs, traces, and a dashboard on day zero — OpenTelemetry auto-instrumentation as part of the path, not a team chore.

About 23 min read3-question knowledge check

The mental model

A new car doesn't ship with an empty dashboard and a note saying "wire up your own speedometer." The gauges, the fuel light, the check-engine warning, the black-box crash recorder — all standard, all working before you leave the lot. You don't opt into knowing how fast you're going. Imagine if every driver had to install their own instruments: most would drive blind, a few would over-build a NASA telemetry rig, and none of it would be comparable across cars.

That is exactly what happens when observability is a per-team chore. Each team picks its own metrics names, its own log format, its own tracing library (or none), and when an incident spans three services you're correlating user_id, userId, and uid across three log shapes at 3am. Observability by default is the platform's answer: every service scaffolded on the golden path ships on day zero with metrics, structured logs, distributed traces, and a working dashboard — instrumented, wired to the backend, and consistent with every other service, before the team writes a line of business logic.

The *why* is that observability is the highest-value thing to standardize and the thing teams most reliably skip. Under deadline pressure, instrumentation is the first corner cut, so if it's optional it doesn't exist — until the outage, when its absence is catastrophic. Making it a default flips the economics: the team gets it for free (they'd have to actively rip it out), and the org gets fleet-wide consistency that makes cross-service debugging and org-level SLOs possible. The platform move is OpenTelemetry auto-instrumentation baked into the base image and the template, so the paved road is the instrumented road. The measure of success: when a team's service pages at 3am, the responder opens a dashboard that already exists and traces a request across services that all speak the same telemetry — without the owning team ever having "done observability."

The full lesson continues with 15 more sections
  • Deep dive
  • Internal architecture
  • Real-world use cases
  • Best practices
  • Common mistakes
  • Performance
  • Security
  • Production troubleshooting
  • Advantages & disadvantages
  • Alternatives
  • Interview expectations
  • Interview questions
  • Facts to remember
  • Cheat sheet
  • Quick revision