From 8d16354a102cecaa6d2d00dabc41feaf5d9d8204 Mon Sep 17 00:00:00 2001 From: Tyler Yahn Date: Tue, 1 Nov 2022 13:33:57 -0700 Subject: [PATCH] Add table of instrument additive property (#2906) --- specification/metrics/supplementary-guidelines.md | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/specification/metrics/supplementary-guidelines.md b/specification/metrics/supplementary-guidelines.md index 1f5007eca61..e65b4e2b85a 100644 --- a/specification/metrics/supplementary-guidelines.md +++ b/specification/metrics/supplementary-guidelines.md @@ -112,9 +112,18 @@ middle. Here are some examples: to add up the voltage values anymore. In OpenTelemetry, each [Instrument](./api.md#instrument) implies whether it is -additive or not. For example, [Counter](./api.md#counter) and -[UpDownCounter](./api.md#updowncounter) are additive while [Asynchronous -Gauge](./api.md#asynchronous-gauge) is non-additive. +additive or not. + +| Instrument | Additive | +| ----------------------------------------------------------------- | ----------------- | +| [Counter](./api.md#counter) | additive | +| [UpDownCounter](./api.md#updowncounter) | additive | +| [Histogram](./api.md#histogram) | mixed1 | +| [Asynchronous Gauge](./api.md#asynchronous-gauge) | non-additive | +| [Asynchronous Counter](./api.md#asynchronous-counter) | additive | +| [Asynchronous UpDownCounter](./api.md#asynchronous-updowncounter) | additive | + +1: The Histogram bucket counts are additive if the buckets are the same, the sum is additive, but the min and max are non-additive. #### Numeric type selection