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.
