StackPractices

Tag: observability

Browse 50 practical software engineering resources tagged with "observability". Discover code recipes, design patterns, documentation templates, and in-depth guides to help you build, deploy, and maintain production-ready solutions involving observability. Each resource is written for engineers who ship real systems, with copy-paste examples and practical trade-offs.

Observability and Monitoring

Observability is the ability to understand a system from its outputs: logs, metrics, and traces. It shifts debugging from guessing to answering concrete questions about behavior, performance, and failures.

The guides and recipes below cover Prometheus, Grafana, OpenTelemetry, structured logging, alerting, and incident correlation. Use them to build systems that reveal their own state when things go wrong.

Every resource includes clear explanations, copy-paste code, and practical warnings. Use them to make informed decisions, avoid production pitfalls, and speed up your delivery. If you are just getting started, read the beginner-friendly articles first; if you are experienced, jump straight to the advanced patterns and architecture guides. New resources are added regularly, so bookmark this page and check back for the latest patterns.

Parse Server Log Files with Python, Java and JavaScript

Parse and analyze server log files with Python, Java, and JavaScript. Covers regex, structured...

Centralize Container Logs with Fluentd and Docker

Collect, filter, and forward Docker container logs to Elasticsearch, S3, or stdout using Fluentd as...

Grafana Dashboards for Observability with Prometheus

Build Grafana dashboards that visualize Prometheus metrics. Use panels, template variables,...

Metrics Collection and Alerting with Prometheus

Instrument applications and infrastructure with Prometheus metrics, configure alerting rules, and...

Expose Custom Application Metrics with Python and Prometheus

Build a custom Prometheus metrics exporter in Python using prometheus_client. Covers counters,...

Distributed Tracing

Trace requests across distributed microservices with OpenTelemetry, Jaeger, and Zipkin for latency...

Custom Health Checks with Spring Boot Actuator

How to implement custom health indicators with Spring Boot Actuator, including database, Redis,...

Expose Metrics with Micrometer and Prometheus

How to expose custom application metrics using Micrometer and Prometheus in Spring Boot, including...

Log Aggregation

Centralize logs from distributed services with ELK, Fluentd, and Loki for search, alerting, and...

Metrics Collection

Collect, aggregate, and expose application and infrastructure metrics with Prometheus, StatsD, and...

High-Performance Logging with pino

How to use pino for fast structured JSON logging in Node.js, including log levels, child loggers,...

Error Tracking with Sentry in Express

How to integrate Sentry for error tracking in Node.js Express applications, including error...

Rotate Logs Daily with Winston

How to configure daily log rotation in Node.js using winston and winston-daily-rotate-file,...

Prometheus API Monitoring

Monitor API performance and health with Prometheus metrics, custom collectors, and alerting rules.

Distributed Tracing with OpenTelemetry

How to implement distributed tracing in Python with OpenTelemetry SDK, including spans, context...

Expose Business Metrics with Prometheus

How to expose custom business metrics in Python using prometheus_client, including counters,...

Structured JSON Logging with structlog

How to emit structured JSON logs in Python using structlog, including context binding, log levels,...

Real User Monitoring

Monitor actual user experiences with Core Web Vitals, session replay, and performance analytics to...

Structured Logging

Implement structured logging with JSON output, correlation IDs, and log aggregation for production...

Health Endpoint Monitoring Pattern

Expose lightweight health endpoints so orchestrators, load balancers, and monitoring tools can...