Menu

Why Observability Is Different From Logging
πŸ“°

Why Observability Is Different From Logging

DEV Community: backendΒ·Soumyajit MukherjeeΒ·about 20 hours ago
#GlHmjNsK
#devtobackend#devto#dev#enter#exit
Reading 0:00
15s threshold

Many developers think observability means "add more logs."

Logging is important.

But observability is broader.

The Three Common Pillars

Observability is commonly discussed through:

Logs Metrics Traces

Enter fullscreen mode

Exit fullscreen mode

Each answers different questions.

Logs

Logs tell you about events.

Example:

2026-08-14 14:20:03 Order 12345 payment failed

Enter fullscreen mode

Exit fullscreen mode

Useful, but often isolated.

Metrics

Metrics measure numerical behavior.

For example:

HTTP requests/sec CPU usage Memory usage Error rate Request latency

Enter fullscreen mode

Exit fullscreen mode

You might discover:

95th percentile latency = 2.4 seconds

Enter fullscreen mode

Exit fullscreen mode

That tells you something is happening at scale.

Traces

Distributed tracing follows a request across multiple components.

For example:

API Gateway ↓ User Service ↓ Order Service ↓ Payment Service ↓ Database

Enter fullscreen mode

Exit fullscreen mode

If the request takes five seconds,…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.