Structured Logging
Logs are discrete event records. Structured logging outputs events as machine-readable JSON payloads containing context keys (e.g. `userId`, `requestId`), making them easy to index and search.
{
"timestamp": "2026-08-14T12:00:00Z",
"level": "ERROR",
"requestId": "req-df8s77d",
"message": "Database timeout"
}Aggregated Metrics
Metrics represent numerical values aggregated over time (e.g., CPU utilization, HTTP error rates). They are highly storage-efficient, enabling long-term trend analysis and performance alerting.
Distributed Tracing
In microservice architectures, requests hop across multiple servers. Tracing assigns a unique trace ID that propagates across network API calls, mapping out a visual timeline (span graph) of the full request lifecycle to locate backend bottlenecks.
