StackPractices

observability

Practical resources about observability for software engineers.

47 results

Understanding Production Systems

You cannot fix what you cannot see. Observability combines metrics, logs, and traces into a coherent picture of system health. It is the difference between reactive firefighting and proactive capacity planning.

These resources cover structured logging with JSON, Prometheus metric collection, Grafana dashboard design, distributed tracing with OpenTelemetry, and alerting strategies. Learn how to reduce mean time to detection and resolution in production environments.

intermediate

Parse Server Log Files with Python, Java and JavaScript

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

intermediate

Centralize Container Logs with Fluentd and Docker

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

beginner

Grafana Dashboards for Observability with Prometheus

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

intermediate

Metrics Collection and Alerting with Prometheus

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

intermediate

Expose Custom Application Metrics with Python and Prometheus

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

intermediate

Distributed Tracing

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

intermediate

Custom Health Checks with Spring Boot Actuator

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

intermediate

Expose Metrics with Micrometer and Prometheus

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

intermediate

Log Aggregation

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

intermediate

Metrics Collection

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

intermediate

High-Performance Logging with pino

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

intermediate

Error Tracking with Sentry in Express

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

observability nodejs sentry error-tracking
intermediate

Rotate Logs Daily with Winston

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

intermediate

Prometheus API Monitoring

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

advanced

Distributed Tracing with OpenTelemetry

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

intermediate

Expose Business Metrics with Prometheus

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

intermediate

Structured JSON Logging with structlog

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

intermediate

Real User Monitoring

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

intermediate

Structured Logging

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

beginner

Health Endpoint Monitoring Pattern

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

No results found.