StackPractices

Tag: prometheus

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

Metrics and Monitoring with Prometheus

Prometheus is the dominant open-source metrics and monitoring toolkit in the cloud-native ecosystem. It scrapes time-series data, supports powerful queries with PromQL, and integrates with Grafana for dashboards and Alertmanager for notifications.

The recipes below cover instrumentation, exporters, service discovery, recording rules, alerting rules, and scaling storage. Each guide focuses on collecting the right metrics and turning them into actionable insight.

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.

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,...

Expose Metrics with Micrometer and Prometheus

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

Metrics Collection

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

Prometheus API Monitoring

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

Expose Business Metrics with Prometheus

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

Circuit Breaker with Monitoring

How to expose circuit breaker state as metrics for observability. Covers Prometheus integration,...

Metrics Aggregation: Collect, Tag

How to collect, tag, and aggregate business metrics for observability. Covers Prometheus,...

Complete Guide to Monitoring and Alerting

Build a production monitoring stack. Covers Prometheus, Grafana, AlertManager, metrics...

Observability — Metrics, Logs, and Traces Complete Guide

A practical guide to observability: the three pillars (metrics, logs, traces), implementing with...

Complete Guide to Observability with the Grafana Stack

Set up metrics, logs, and traces with Grafana, Prometheus, Loki, and Tempo. Covers instrumentation,...

Prometheus and Grafana: Metrics, Dashboards, Alerting

Master Prometheus metrics collection and Grafana dashboards. Covers metric types, PromQL, service...

Metrics and Dashboards

A practical guide to metrics and dashboards: instrumenting applications, choosing metric types,...