package asyncint64

import "go.opentelemetry.io/otel/metric/instrument/asyncint64"

Package asyncint64 provides asynchronous instruments that accept int64 measurments.

Deprecated: Use the instruments provided by go.opentelemetry.io/otel/metric/instrument instead.

Index

Types

type Counter

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

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

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.

Source Files

asyncint64.go

Version
v0.35.0
Published
Jan 29, 2023
Platform
linux/amd64
Imports
1 packages
Last checked
2 hours ago

Tools for package owners.