🌐
Prometheus
prometheus.io › docs › tutorials › understanding_metric_types
Understanding metric types | Prometheus
They are used when the buckets of a metric are not known beforehand, but it is highly recommended to use histograms over summaries whenever possible. In this tutorial, we covered the types of metrics in detail and a few PromQL operations like rate, histogram_quantile, etc.
🌐
Prometheus
prometheus.io › docs › concepts › metric_types
Metric types | Prometheus
The Prometheus instrumentation libraries offer four core metric types. With the exception of native histograms, these are currently only differentiated in the API of instrumentation libraries and in the exposition protocols. The Prometheus server does not yet make use of the type information and flattens all types except native histograms into untyped time series of floating point values.
Discussions

DataDog Custom Metrics
What an absolute mess DD's custom metrics are. Have they guilded the dumpster fire over and over? New Relic's costs are such a breath of fresh air. All data charged at the same rate is simply much more understandable. More on reddit.com
🌐 r/devops
18
15
October 8, 2022
How does prometheus monitoring work?
Save yourself some money, visualize it in grafana. The way the Prometheus works, you have a server ( which actually is the client) which is configured to call all the endpoints it can discover. The real power in Prometheus is its Dynamic Discovery Framework that allow you to have a configuration that talks to other things that actually get the list of instances. It can be kubernetes, it can be AWS API, whatever. Once you have a configuration of targets that's dynamically populated, the client( server, the main thing ) reaches out to all the clients( actually the servers, also known as exporters) which just sit there listening for connections to expose data to. the main process collects the data under its data dir, and also has a rudimentary interface to allow query and expose config and state information. More on reddit.com
🌐 r/devops
21
13
June 1, 2023
People also ask

How do you define a new metric type in Prometheus?
You cannot define new metric types beyond the standard four. You can define custom metrics using the existing types through client libraries, setting up counters, gauges, histograms (with configurable buckets), or summaries for your needs.
🌐
last9.io
last9.io › blog › prometheus-metrics-types-a-deep-dive
Prometheus Metrics Types - A Deep Dive | Last9
What are the types of metrics in Prometheus?
Prometheus supports four metric types: Counter, Gauge, Histogram, and Summary. Each type offers distinct capabilities for tracking different system behaviors.
🌐
last9.io
last9.io › blog › prometheus-metrics-types-a-deep-dive
Prometheus Metrics Types - A Deep Dive | Last9
How does the Prometheus counter metric type work?
A counter increases monotonically. It tracks events like API hits, background job runs, or errors. When the process restarts, the counter resets, but functions like rate() account for the reset.
🌐
last9.io
last9.io › blog › prometheus-metrics-types-a-deep-dive
Prometheus Metrics Types - A Deep Dive | Last9
🌐
OpenObserve
openobserve.ai › home › blog › prometheus metrics types
Prometheus Metric Types (Counters, Gauges, Histograms, Summaries)
November 19, 2025 - Prometheus gives you a powerful foundation for understanding your system through metrics - counters for tracking events, gauges for real-time state, histograms for latency distributions, and summaries for client-side quantiles.
🌐
SigNoz
signoz.io › guides › what are the 4 types of metrics in prometheus - understanding the core metric types
Prometheus Metric Types - The 4 Core Metrics Explained | SigNoz
July 2, 2026 - The 4 types of Prometheus metrics explained: counter, gauge, histogram, and summary, when to use each, and how to pick the right one.
🌐
GeeksforGeeks
geeksforgeeks.org › devops › prometheus-metric-types
Prometheus Metric Types Explained - GeeksforGeeks
July 23, 2025 - They indicate when and where problems have occurred or are occurring. Prometheus gathered four different kinds of metrics as part of its exposition format: counters, gauges, histograms, and summaries.
🌐
Better Stack
betterstack.com › community › guides › monitoring › prometheus-metrics-explained
A Practical Guide to Prometheus Metric Types | Better Stack Community
The table below summarizes the differences between the two metric types: ... You need to aggregate quantiles across multiple instances. You want the flexibility to calculate different quantiles or use different time windows later on. You are monitoring system-wide Service Level Objectives (SLOs). ... You are monitoring a single instance or service. You need high precision for specific quantiles with low server-side overhead. Aggregation is not required or practical. ... Prometheus is a powerful monitoring tool, but it can struggle to keep up as your systems grow.
🌐
Last9
last9.io › blog › prometheus-metrics-types-a-deep-dive
Prometheus Metrics Types - A Deep Dive | Last9
June 17, 2026 - Prometheus metric types explained: counters, gauges, histograms, and summaries, with PromQL query patterns, cardinality traps to avoid, and guidance on when to use each.
Find elsewhere
🌐
Logz.io
logz.io › home › guides › learn › prometheus metrics: types, best practices & examples
Prometheus Metrics: Types, Best Practices & Examples
June 10, 2026 - However, these Prometheus metrics types generally fall into four core types: counter, gauge, histogram and summary. The first two metric types are fairly straightforward and fall into the normal way anything of their name would be measured, ...
🌐
TigerData
tigerdata.com › blog › four-types-prometheus-metrics-to-collect
A Deep Dive Into the Four Types of Prometheus | Tiger Data
December 10, 2025 - Our hope is that after reading ... collected by Prometheus as part of its exposition format include Counters, Gauges, Histograms, and Summaries....
🌐
Chronosphere
chronosphere.io › home › an introduction to the 4 primary prometheus metrics types
An introduction to the 4 primary Prometheus metrics types
April 2, 2025 - These metric types fulfill the needs or requirements for most use cases, and are found in Prometheus’ official client libraries: Go, Java, Ruby, and Python. Note: each client library has its own documentation on how to use each metric type with the corresponding client library API. This blog explains Prometheus’ four primary metric types, covers when and how to use them, and gives resources for implementation.
🌐
Dash0
dash0.com › home › knowledge base › understanding the prometheus metric types
Understanding the Prometheus Metric Types · Dash0
July 21, 2025 - We’ll move beyond the trivial examples and dive deep into what each metric type is, when to use it, and, most importantly, the common pitfalls that turn promising monitoring setups into dumpster fires. Forget the hand-waving; let’s get our hands dirty. Before you can use a tool, you must understand its model of the world. In Prometheus, everything is a time series: a stream of timestamped values belonging to the same metric and the same set of labeled dimensions.
🌐
client_java
prometheus.github.io › client_java › getting-started › metric-types
Metric Types | client_java
The Prometheus Java metrics library ... standard: Counter Gauge Histogram Custom Bucket Boundaries Native Histograms with Custom Buckets (NHCB) Summary Info StateSet GaugeHistogram and Unknown Counter Counter is the most common and useful metric type....
🌐
DZone
dzone.com › coding › tools › understanding prometheus metric types: a guide for beginners
Understanding Prometheus Metric Types: A Guide for Beginners
December 9, 2024 - It's perfect for tracking things that only increase, like total API requests, error counts, or tasks completed. When a counter resets to zero (like during a system restart), Prometheus can detect this reset and handle calculations correctly. Counters are the simplest metric type and should be used whenever you're counting the total occurrences of something.
🌐
Promlabs
promlabs.com › blog › 2020 › 09 › 25 › metric-types-in-prometheus-and-promql
PromLabs | Blog - Metric Types in Prometheus and PromQL
September 25, 2020 - Metric types are most visible when you are instrumenting a service using one of the Prometheus client libraries, as each metric type's API object offers you methods specific to that type. Using the Prometheus Go client library as an example, let's take a look at how these types differ in usage.
🌐
Medium
medium.com › @angeloarcillas64 › understanding-prometheus-metric-types-and-the-right-promql-functions-to-use-dbbe9674273f
Understanding Prometheus Metric Types and the Right PromQL Functions to Use | by Angelo Arcillas | Medium
June 11, 2026 - Metric TypeTypical UseFunctions to UseCounterIncreasing totalsrate, irate, increase, resetsGaugeCurrent state valuesavg_over_time, max_over_time, delta, derivHistogramAggregatable distributionsrate + histogram_quantileSummaryClient-side quantilesrate (sum/count), direct quantiles
🌐
DEV Community
dev.to › sunnynazar › the-complete-guide-to-prometheus-metric-types-promql-alerting-and-troubleshooting-5a69
The Complete Guide to Prometheus Metric Types - DEV Community
January 18, 2026 - A Counter is a cumulative metric that only increases. Think of it as an odometer in your car. The number only goes up.
🌐
Stackify
stackify.com › an-introductory-guide-to-prometheus-metrics
An Introductory Guide to Prometheus Metrics - Stackify
September 19, 2024 - In this blog post, we’ll explore the four primary Prometheus metric types: counter, gauge, histogram, and summary. We’ll discuss what each type is, how it works, and provide real-world use cases.
🌐
VictoriaMetrics
victoriametrics.com › blog › prometheus metrics explained: counters, gauges, histograms & summaries
Prometheus Metrics Explained: Counters, Gauges, Histograms & Summaries
February 21, 2025 - Metrics come in different types: counters that only increase, gauges that fluctuate, histograms that show value distributions, and summaries that pre-calculate statistics.
🌐
Network-insight
network-insight.net › home › prometheus metric types
Prometheus Metric Types - Network Insight
October 29, 2024 - Prometheus Metric Types are scrapped with a Pull Approach. There are several Prometheus metrics types, such as Docker and application metrics.
🌐
Medium
medium.com › @Nitish_Mane › prometheus-metric-types-and-their-usage-b5269e21c7c7
Prometheus Metric Types and Their Usage — Part 3 | by Nitish Mane | Medium
October 14, 2024 - In exploring Prometheus metrics, we will examine the four primary types: gauges, counters, summaries, and histograms. Each metric serves a distinct purpose in monitoring applications, and understanding their functionalities is crucial for effective ...