Skip to content

Metrics terminology: Grouping instruments as (opposed to Adding instruments) #625

@jmacd

Description

@jmacd

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:

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.

Metadata

Metadata

Assignees

Labels

area:sdkRelated to the SDKpriority:p1Highest priority levelrelease:required-for-gaMust be resolved before GA release, or nice to have before GAspec:metricsRelated to the specification/metrics directory

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions