package asyncfloat64

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

Package asyncfloat64 provides asynchronous instruments that accept float64 measurments.

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

Index

Types

type Counter

type Counter interface{ instrument.Float64Observer }

Counter is an instrument used to asynchronously record increasing float64 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 Float64ObservableCounter in go.opentelemetry.io/otel/metric/instrument instead.

type Gauge

type Gauge interface{ instrument.Float64Observer }

Gauge is an instrument used to asynchronously record instantaneous float64 measurements once per a measurement collection cycle.

Warning: methods may be added to this interface in minor releases.

Deprecated: Use the Float64ObservableGauge in go.opentelemetry.io/otel/metric/instrument instead.

type UpDownCounter

type UpDownCounter interface{ instrument.Float64Observer }

UpDownCounter is an instrument used to asynchronously record float64 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 Float64ObservableUpDownCounter in go.opentelemetry.io/otel/metric/instrument instead.

Source Files

asyncfloat64.go

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

Tools for package owners.