#logging

3 posts.

How Much Telemetry Should We Keep? Balancing Collection Cost and Diagnostic Value

Examine metric, log, and trace costs from instrumentation to storage, then use aggregation, sampling, label budgets, and retention policies to preserve useful diagnostic evidence.

observabilitymetricsloggingopentelemetryoperations

Why Turn Immutable YAML Logs into Full Objects?

A practical look at why stream/event-based YAML processing can be a better fit than building a full DOM or object tree when high-volume YAML logs only need filtering.

yamlloggingperformancestreamingoperations

When Logging Becomes the Bottleneck: Keeping Heavy Appender Work Off the Request Path

A practical guide to Log4j2 Custom Appenders through hot-path protection, bounded queues, AsyncAppender, throttling, and operational trade-offs.

javalog4j2loggingobservability