Skip to content
StackPractices

Tag: metrics

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

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.

Expose Metrics with Micrometer and Prometheus

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

Expose Business Metrics with Prometheus

How to expose custom business metrics in Python using prometheus_client, including counters, gauges, histograms, summaries, and Flask integration.

Structured Logging

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

Metrics Aggregation: Collect, Tag

How to collect, tag, and aggregate business metrics for observability. Covers Prometheus, OpenTelemetry, custom metrics, histograms, and dashboarding.

Observability Maturity Assessment Template

A template for assessing logging, metrics, and tracing maturity across teams with scoring, gap analysis, and improvement roadmap.

Time-Series Databases — InfluxDB, TimescaleDB

A practical guide to time-series databases: when to use a specialized TSDB, data model, retention policies, and choosing between InfluxDB, TimescaleDB, and ClickHouse.

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.

Observability — Metrics, Logs, and Traces Complete Guide

A practical guide to observability: the three pillars (metrics, logs, traces), implementing with Prometheus, Grafana, Loki, Tempo/Jaeger, and building SLO-driven alerting.

OpenTelemetry — Implementation Guide for Metrics, Logs

A practical guide to OpenTelemetry: instrumentation, collectors, exporters, and wiring OTLP to backends like Jaeger, Prometheus, and Grafana.

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.

Metrics and Dashboards

A practical guide to metrics and dashboards: instrumenting applications, choosing metric types, building useful dashboards, and creating alerting pipelines with Prometheus, Grafana, and Datadog.