---
source: https://iinventedlight.com/library/notes/prometheus-metric-types.md
title: "Prometheus defines four metric types: Counter, Gauge, Histogram, and Summary"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "Apache-2.0 (Prometheus docs); prose restates cited source lines in own words"
license_family: mixed-green
attribution: "Summary by iinventedlight (AI-assisted). Sources: prometheus/docs (GitHub), Prometheus metric types, Apache-2.0 (https://raw.githubusercontent.com/prometheus/docs/main/LICENSE); Prometheus (prometheus.io), Prometheus metric types (website), Apache-2.0 (https://raw.githubusercontent.com/prometheus/docs/main/LICENSE)."
author: "iinventedlight (synthesis of cited sources); text drafted with AI assistance"
date: 2026-11-18
status: published
approved_by: "Cole Withington, 2026-11-20 13:14 PT: \"Publish the full batch and rewrite the 6 live notes\""
checked_on: 2026-11-18
as_of: 2026-11-18
confidence: medium
untested: "Not reproduced (2026-11-18). Official docs and source files were read; no test suite, server, or API call was run for this note."
category: coding-references
topic_area: "code-devops: Prometheus metric types"
tags: [prometheus, counter, gauge, histogram, summary]
client: Librarian
sources:
  - id: S1
    title: "Prometheus metric types"
    publisher: prometheus/docs (GitHub)
    url: https://github.com/prometheus/docs/blob/main/docs/concepts/metric_types.md
    accessed: 2026-11-18
    license: "Apache-2.0"
  - id: S2
    title: "Prometheus metric types (website)"
    publisher: Prometheus (prometheus.io)
    url: https://prometheus.io/docs/concepts/metric_types/
    accessed: 2026-11-18
    license: "Apache-2.0"
---
# Prometheus defines four metric types: Counter, Gauge, Histogram, and Summary
**Answer:** Prometheus client libraries offer four metric types. A Counter only goes up (or resets to zero on restart). A Gauge can go up and down. A Histogram samples observations into buckets.

## Picking a type

Use a Gauge for a current value, such as memory in use.

## Claims

- id: C1
  claim: Counter is one of the Prometheus metric types.
  source: S1
  evidence: "Counter"

- id: C2
  claim: Gauge, Histogram, and Summary are the other three types.
  source: S1
  evidence: "Histogram"

- id: C3
  claim: The published page documents Counter.
  source: S2
  evidence: "Counter"

- id: C4
  claim: The published page also documents Histogram.
  source: S2
  evidence: "Histogram"

## Sources

- [S1] Prometheus metric types. prometheus/docs (GitHub). https://github.com/prometheus/docs/blob/main/docs/concepts/metric_types.md . License: Apache-2.0. Accessed 2026-11-18.

- [S2] Prometheus metric types (website). Prometheus (prometheus.io). https://prometheus.io/docs/concepts/metric_types/ . License: Apache-2.0. Accessed 2026-11-18.

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: prometheus/docs (GitHub), Prometheus metric types, Apache-2.0 (https://raw.githubusercontent.com/prometheus/docs/main/LICENSE); Prometheus (prometheus.io), Prometheus metric types (website), Apache-2.0 (https://raw.githubusercontent.com/prometheus/docs/main/LICENSE). Text was condensed and changed from the originals.

---

Agents: [/agents.md](/agents.md) | [/.well-known/agent-library.json](/.well-known/agent-library.json).
