Documentation ¶
Overview ¶
Package asyncint64 provides asynchronous instruments that accept int64 measurments.
Deprecated: Use the instruments provided by go.opentelemetry.io/otel/metric/instrument instead.
Index ¶
- type Counterdeprecated
- type Gaugedeprecated
- type UpDownCounterdeprecated
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Counter
deprecated
type Counter interface{ instrument.Int64Observer }
Counter is an instrument used to asynchronously record increasing int64 measurements once per a measurement collection cycle. The Observe method is used to record the measured state of the instrument when it is called. Implementations will assume the observed value to be the cumulative sum of the count.
Warning: methods may be added to this interface in minor releases.
Deprecated: Use the Int64ObservableCounter in go.opentelemetry.io/otel/metric/instrument instead.
type Gauge
deprecated
type Gauge interface{ instrument.Int64Observer }
Gauge is an instrument used to asynchronously record instantaneous int64 measurements once per a measurement collection cycle.
Warning: methods may be added to this interface in minor releases.
Deprecated: Use the Int64ObservableGauge in go.opentelemetry.io/otel/metric/instrument instead.
type UpDownCounter
deprecated
type UpDownCounter interface{ instrument.Int64Observer }
UpDownCounter is an instrument used to asynchronously record int64 measurements once per a measurement collection cycle. The Observe method is used to record the measured state of the instrument when it is called. Implementations will assume the observed value to be the cumulative sum of the count.
Warning: methods may be added to this interface in minor releases.
Deprecated: Use the Int64ObservableUpDownCounter in go.opentelemetry.io/otel/metric/instrument instead.