From af75fe249e1a61fa5b209189dc26fb1f583faa67 Mon Sep 17 00:00:00 2001 From: Alex Krawiec Date: Tue, 11 Nov 2025 13:53:21 -0800 Subject: [PATCH 1/3] Add explicit aggregation methods for metrics --- docs/product/explore/metrics/index.mdx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/product/explore/metrics/index.mdx b/docs/product/explore/metrics/index.mdx index 8b97c783238c92..88f68e3f4846ef 100644 --- a/docs/product/explore/metrics/index.mdx +++ b/docs/product/explore/metrics/index.mdx @@ -35,6 +35,8 @@ Sentry supports three types of metrics: Counters track how many times something happened. Each increment adds to a cumulative total. +**Aggregation method**: `sum`, `per_second`, and `per_minute`. + **Use cases**: events that occur over time - `email.sent` - Track total emails sent - `checkout.failed` - Track failed checkout attempts @@ -44,6 +46,8 @@ Counters track how many times something happened. Each increment adds to a cumul Gauges set a specific value at a point in time, like a snapshot. The latest value replaces the previous one. +**Aggregation methods**: `min`, `max`, `avg`, `per_second`, and `per_minute`. + **Use cases**: current state or level - `queue.depth` - Current number of items in queue - `pool.in_use` - Active connections in a pool @@ -51,7 +55,9 @@ Gauges set a specific value at a point in time, like a snapshot. The latest valu ### Distributions -Distributions record numeric values to compute statistical aggregates like p50, p95, average, and sum. +Distributions record numeric values to compute statistical aggregates. + +**Aggregation methods**: `p50`, `p75`, `p95`, `p99`, `avg`, `sum`, `min`, `max`, `count`, 'per_second', and 'per_minute'. **Use cases**: values that vary and need statistical analysis - `cart.amount_usd` - Purchase amounts for revenue tracking From 6cef1c19375922978c951154a81e115bee22f36a Mon Sep 17 00:00:00 2001 From: Alex Krawiec Date: Tue, 11 Nov 2025 14:17:43 -0800 Subject: [PATCH 2/3] Fix quote typos --- docs/product/explore/metrics/index.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/product/explore/metrics/index.mdx b/docs/product/explore/metrics/index.mdx index 88f68e3f4846ef..7789cf3b8179e6 100644 --- a/docs/product/explore/metrics/index.mdx +++ b/docs/product/explore/metrics/index.mdx @@ -57,7 +57,7 @@ Gauges set a specific value at a point in time, like a snapshot. The latest valu Distributions record numeric values to compute statistical aggregates. -**Aggregation methods**: `p50`, `p75`, `p95`, `p99`, `avg`, `sum`, `min`, `max`, `count`, 'per_second', and 'per_minute'. +**Aggregation methods**: `p50`, `p75`, `p95`, `p99`, `avg`, `sum`, `min`, `max`, `count`, `per_second`, and `per_minute`. **Use cases**: values that vary and need statistical analysis - `cart.amount_usd` - Purchase amounts for revenue tracking From e6ea6a27760138cae3718a2f4d0832537b703b9c Mon Sep 17 00:00:00 2001 From: Alex Krawiec Date: Tue, 11 Nov 2025 14:26:13 -0800 Subject: [PATCH 3/3] small typo --- docs/product/explore/metrics/index.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/product/explore/metrics/index.mdx b/docs/product/explore/metrics/index.mdx index 7789cf3b8179e6..2b1228934934c2 100644 --- a/docs/product/explore/metrics/index.mdx +++ b/docs/product/explore/metrics/index.mdx @@ -35,7 +35,7 @@ Sentry supports three types of metrics: Counters track how many times something happened. Each increment adds to a cumulative total. -**Aggregation method**: `sum`, `per_second`, and `per_minute`. +**Aggregation methods**: `sum`, `per_second`, and `per_minute`. **Use cases**: events that occur over time - `email.sent` - Track total emails sent