Counter vs gauge vs histogram?
AdvancedConceptMonitoring and security
Answer
A counter only goes up (use rate() on it). A gauge goes up and down (memory, queue depth). A histogram counts observations into buckets, so you can compute percentiles with histogram_quantile().
More on Monitoring and security
Monitoring vs observability?BeginnerWhat are the three pillars of observability?BeginnerSLI vs SLO vs SLA?IntermediateWhat are the four golden signals?IntermediatePrometheus: pull or push, and how do short-lived jobs report?IntermediateWrite the PromQL for the 5xx error ratio over 5 minutes.Intermediate