IT lexicon › Infra & Ops › White-box monitoring

White-box monitoring

Infra & Ops På svenska → Updated: 2026-11-14

Monitoring the internals of a system—CPU, memory, database calls—from within the application itself.

White-box monitoring assumes you can look inside the system. You instrument your code to expose metrics: "this function called the database 1200 times last second" or "this request ran a slow query." You see what's happening. The opposite is black-box monitoring, where you only observe behavior from the outside—did the request succeed, how fast did it respond.

White-box monitoring is often the first observability layer teams build, because it's straightforward—just add telemetry to your code. The downside is you must change your code, and bugs in instrumentation can mislead. But without white-box data, you often can't explain why something is slow. Most mature systems use both: white-box to debug internals, black-box to catch failures that white-box misses.

← Back to the lexicon