-
Notifications
You must be signed in to change notification settings - Fork 974
Metrics terminology: Grouping instruments as (opposed to Adding instruments) #625
Copy link
Copy link
Closed
Labels
area:sdkRelated to the SDKRelated to the SDKpriority:p1Highest priority levelHighest priority levelrelease:required-for-gaMust be resolved before GA release, or nice to have before GAMust be resolved before GA release, or nice to have before GAspec:metricsRelated to the specification/metrics directoryRelated to the specification/metrics directory
Description
The current metrics spec uses the term "Additive" to describe the Counter, UpDownCounter, SumObserver, and UpDownSumObserver instruments. This term was derived as follows: the input to these instruments convey a sum that is of primary interest, whether expressed as the change (synchronous case) or as the sum itself (synchronous case).
The other instruments have not had a proper term applied. Sometimes "non-additive", these instruments recognize individual events cannot be simply added, that they are averaged instead of added. This proposal suggests the term Collective to refer to these instruments, because:
- It has the same adjective suffix "-ive", meaning "that performs or tends toward an (indicated) action"
- Sense of meaning "of, relating to, or being a group of individuals"
Examples of use:
- Collective instruments generally cost more than Additive instruments
- Collective instruments are used to capture a distribution of values
- The default aggregator for Collective instruments is MinMaxSumCount
- The legacy term "Gauge" usually implies a Collective instrument
- Add AbsoluteValueRecorder instrument #608 proposes to add a new Collective instrument.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area:sdkRelated to the SDKRelated to the SDKpriority:p1Highest priority levelHighest priority levelrelease:required-for-gaMust be resolved before GA release, or nice to have before GAMust be resolved before GA release, or nice to have before GAspec:metricsRelated to the specification/metrics directoryRelated to the specification/metrics directory