Tagged articles
3 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