You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*[Synchronous and asynchronous instruments compared](#synchronous-and-asynchronous-instruments-compared)
21
-
*[Additive and non-additive instruments compared](#additive-and-non-additive-instruments-compared)
21
+
*[Adding and grouping instruments compared](#adding-and-grouping-instruments-compared)
22
22
*[Monotonic and non-monotonic instruments compared](#monotonic-and-non-monotonic-instruments-compared)
23
23
*[Function names](#function-names)
24
24
-[The instruments](#the-instruments)
@@ -110,24 +110,24 @@ has put effort into taking some kind of measurement. For both
110
110
performance and semantic reasons, the API let users choose between two
111
111
kinds of measurement.
112
112
113
-
The term _additive_ is used to specify a characteristic of some
113
+
The term _adding_ is used to specify a characteristic of some
114
114
measurements, meant to indicate that only the sum is considered useful
115
115
information. These are measurements that you would naturally combine
116
116
using arithmetic addition, usually real quantities of something
117
117
(e.g., number of bytes).
118
118
119
-
Non-additive measurements are used when the set of values, also known
119
+
Grouping measurements are used when the set of values, also known
120
120
as the population, is presumed to have useful information. A
121
-
non-additive measurement is either one that you would not naturally
121
+
grouping measurement is either one that you would not naturally
122
122
combine using arithmetic addition (e.g., request latency), or it is a
123
123
measurement you would naturally add where the intention is to monitor
124
124
the distribution of values (e.g., queue size). The median value is
125
-
considered useful information for non-additive measurements.
125
+
considered useful information for grouping measurements.
126
126
127
-
Non-additive instruments semantically capture more information than
128
-
additive instruments. Non-additive measurements are more expensive
129
-
than additive measurements, by this definition. Users will choose
130
-
additive instruments except when they expect to get value from the
127
+
Grouping instruments semantically capture more information than
128
+
adding instruments. Grouping measurements are more expensive
129
+
than adding measurements, by this definition. Users will choose
130
+
adding instruments except when they expect to get value from the
131
131
additional cost of information about individual values. None of this
132
132
is to prevent an SDK from re-interpreting measurements based on
133
133
configuration. Anything can happen with any kind of measurement.
@@ -149,13 +149,13 @@ Instruments are classified in several ways that distinguish them from
149
149
one another.
150
150
151
151
1. Synchronicity: A synchronous instrument is called by the user in a distributed [Context](../context/context.md) (i.e., Span context, Baggage). An asynchronous instrument is called by the SDK once per collection interval, lacking a Context.
152
-
2.Additivity: An additive instrument is one that records additive measurements, as described above.
153
-
3. Monotonicity: A monotonic instrument is an additive instrument, where the progression of each sum is non-decreasing. Monotonic instruments are useful for monitoring rate information.
152
+
2.Adding vs. Grouping: An adding instrument is one that records adding measurements, as opposed to a grouping instrument as described above.
153
+
3. Monotonicity: A monotonic instrument is an adding instrument, where the progression of sums is non-decreasing. Monotonic instruments are useful for monitoring rate information.
154
154
155
155
The metric instruments names are shown below along with whether they
156
-
are synchronous, additive, and/or monotonic.
156
+
are synchronous, adding, and/or monotonic.
157
157
158
-
| Name | Synchronous |Additive| Monotonic |
158
+
| Name | Synchronous |Adding| Monotonic |
159
159
| ---- | ----------- | -------- | --------- |
160
160
| Counter | Yes | Yes | Yes |
161
161
| UpDownCounter | Yes | Yes | No |
@@ -170,13 +170,13 @@ useful when measurements are expensive, therefore should be gathered
170
170
periodically. Read more [characteristics of synchronous and
0 commit comments