Skip to content
StackPractices

Tag: monitoring

Browse 27 practical software engineering resources tagged with "monitoring". Discover code recipes, design patterns, documentation templates, and in-depth guides to help you build, deploy, and maintain production-ready solutions involving monitoring.

Monitor Disk Usage with Bash

Alert when disk space crosses thresholds with bash scripts

Observability Dashboards with Grafana and Prometheus

Build interactive Grafana dashboards that visualize Prometheus metrics with panels, variables, and alerts for thorough service observability

Metrics Collection and Alerting with Prometheus

Instrument applications and infrastructure with Prometheus metrics, configure alerting rules, and set up recording rules for efficient monitoring of service health

Expose Custom Application Metrics with Python and Prometheus

Build a custom Prometheus metrics exporter in Python using prometheus_client for counters, gauges, histograms, and summaries.

Monitor Disk Usage

Alert when disk space crosses thresholds using a Bash script that checks mount points and notifies operators.

Distributed Tracing

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

Log Aggregation

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

Metrics Collection

Collect, aggregate, and expose application and infrastructure metrics with Prometheus, StatsD, and OpenTelemetry for monitoring and alerting.

Prometheus API Monitoring

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

Real User Monitoring

Monitor actual user experiences with Core Web Vitals, session replay, and performance analytics to identify real-world bottlenecks.

Structured Logging

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

API Monitoring & Alerting Template

A template for defining API SLA thresholds, error rate alerts, and monitoring dashboards.

Logging Standards Document

A document template for defining structured logging conventions, log levels, retention, and observability requirements across services.

Monitoring and Alerting Policy Template

A policy template that defines how alerts are configured, routed, escalated, and reviewed across services and infrastructure.

Production Readiness Review Template

A thorough checklist for verifying that a service, feature, or system is ready for production deployment and ongoing operation.

Service Level Objective (SLO) Template

A template for defining reliability targets, error budgets, and measurement methods for services and systems.

Dashboard Design Template

A template for designing observability dashboards with SLOs, error budgets, service health, and contextual information for on-call teams.

Performance Budget Template

Template for defining and enforcing web performance budgets: LCP, INP, CLS targets, resource budgets for JS, CSS, images, fonts, third-party scripts, CI/CD integration with Lighthouse CI, and alerting thresholds with examples for Next.js, Astro, and SPA architectures.

Complete Guide to Monitoring and Alerting

Build a production monitoring stack. Covers Prometheus, Grafana, AlertManager, metrics instrumentation, alert rules, runbooks, SLI/SLO/SLA, distributed tracing with Jaeger, log aggregation, and on-call best practices with practical configuration examples.

Logging, Monitoring & Observability Guide

A guide to building observable systems with structured logging, metrics, and distributed tracing.

Monitoring and Alerting — Metrics, Logs, and Dashboards

A practical guide to observability: the three pillars (metrics, logs, traces), RED and USE methods, alert design, and building dashboards that actually help.

Complete Guide to Apache Kafka in Production

Run Apache Kafka in production with confidence. Covers partitions, replication, consumer groups, monitoring, performance tuning, and operational best practices for high-throughput streaming pipelines.

Distributed Tracing: OpenTelemetry, Jaeger, Zipkin

Master distributed tracing with OpenTelemetry, Jaeger, and Zipkin. Trace propagation across services, span context, sampling strategies, and production debugging.

Complete Guide to Observability with the Grafana Stack

Set up metrics, logs, and traces with Grafana, Prometheus, Loki, and Tempo. Covers instrumentation, dashboards, alerting, and distributed tracing for production systems.

Prometheus and Grafana: Metrics, Dashboards, Alerting

Master Prometheus metrics collection and Grafana dashboards. Covers metric types, PromQL, service instrumentation, alerting rules, and production deployment patterns.

Sentry: Error Tracking, Triage, and Resolution

Master Sentry for production error tracking. Covers SDK integration in Python, Node.js, Java, release tracking, source maps, performance monitoring, and alerting.