Tagged articles
5 articles
Page 1 of 1
Java One
Java One
Sep 8, 2025 · Operations

Understanding Prometheus Metric Types: Gauge, Counter, Summary, and Histogram Explained

Prometheus supports four core metric types—gauge, counter, summary, and histogram—each with distinct semantics and usage patterns; this guide explains their definitions, how to update them via client libraries, and how they appear in the Prometheus text exposition format, including example code and query tips.

CounterGaugeHistogram
0 likes · 10 min read
Understanding Prometheus Metric Types: Gauge, Counter, Summary, and Histogram Explained
DevOps Cloud Academy
DevOps Cloud Academy
Oct 5, 2021 · Operations

Using the Prometheus Go Client Library to Instrument Go Applications

This tutorial demonstrates how to create a simple Go application, expose the default Prometheus metrics endpoint, add custom gauge metrics, use a custom registry, and work with counters, histograms, summaries, and label vectors to fully instrument Go services for monitoring.

GaugeInstrumentationcustom-registry
0 likes · 17 min read
Using the Prometheus Go Client Library to Instrument Go Applications