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 ¶
- type Counterdeprecated
- type Histogramdeprecated
- type UpDownCounterdeprecated
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.