asyncint64

package
v0.35.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 29, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL