syncint64

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: 3 Imported by: 0

Documentation

Overview

Package syncint64 provides synchronous 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 {
	// Add records a change to the counter.
	Add(ctx context.Context, incr int64, attrs ...attribute.KeyValue)

	instrument.Synchronous
}

Counter is an instrument that records increasing values.

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

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

type Histogram deprecated

type Histogram interface {
	// Record adds an additional value to the distribution.
	Record(ctx context.Context, incr int64, attrs ...attribute.KeyValue)

	instrument.Synchronous
}

Histogram is an instrument that records a distribution of values.

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

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

type UpDownCounter deprecated

type UpDownCounter interface {
	// Add records a change to the counter.
	Add(ctx context.Context, incr int64, attrs ...attribute.KeyValue)

	instrument.Synchronous
}

UpDownCounter is an instrument that records increasing or decreasing values.

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

Deprecated: Use the Int64UpDownCounter 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