Documentation
¶
Overview ¶
Package instrument provides the OpenTelemetry API instruments used to make measurements.
Deprecated: Use go.opentelemetry.io/otel/metric instead.
Index ¶
- type Float64Callbackdeprecated
- type Float64Counterdeprecated
- type Float64CounterConfigdeprecated
- type Float64CounterOptiondeprecated
- type Float64Histogramdeprecated
- type Float64HistogramConfigdeprecated
- type Float64HistogramOptiondeprecated
- type Float64Observabledeprecated
- type Float64ObservableCounterdeprecated
- type Float64ObservableCounterConfigdeprecated
- type Float64ObservableCounterOptiondeprecated
- type Float64ObservableGaugedeprecated
- type Float64ObservableGaugeConfigdeprecated
- type Float64ObservableGaugeOptiondeprecated
- type Float64ObservableOptiondeprecated
- type Float64ObservableUpDownCounterdeprecated
- type Float64ObservableUpDownCounterConfigdeprecated
- type Float64ObservableUpDownCounterOptiondeprecated
- type Float64Observerdeprecated
- type Float64UpDownCounterdeprecated
- type Float64UpDownCounterConfigdeprecated
- type Float64UpDownCounterOptiondeprecated
- type Int64Callbackdeprecated
- type Int64Counterdeprecated
- type Int64CounterConfigdeprecated
- type Int64CounterOptiondeprecated
- type Int64Histogramdeprecated
- type Int64HistogramConfigdeprecated
- type Int64HistogramOptiondeprecated
- type Int64Observabledeprecated
- type Int64ObservableCounterdeprecated
- type Int64ObservableCounterConfigdeprecated
- type Int64ObservableCounterOptiondeprecated
- type Int64ObservableGaugedeprecated
- type Int64ObservableGaugeConfigdeprecated
- type Int64ObservableGaugeOptiondeprecated
- type Int64ObservableOptiondeprecated
- type Int64ObservableUpDownCounterdeprecated
- type Int64ObservableUpDownCounterConfigdeprecated
- type Int64ObservableUpDownCounterOptiondeprecated
- type Int64Observerdeprecated
- type Int64UpDownCounterdeprecated
- type Int64UpDownCounterConfigdeprecated
- type Int64UpDownCounterOptiondeprecated
- type Observabledeprecated
- type Optiondeprecated
- func WithDescription(desc string) Optiondeprecated
- func WithUnit(u string) Optiondeprecated
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Float64Callback
deprecated
added in
v0.35.0
type Float64Callback metric.Float64Callback
Float64Callback is an alias for metric.Float64Callback.
Deprecated: Use metric.Float64Callback instead.
type Float64Counter
deprecated
added in
v0.35.0
type Float64Counter metric.Float64Counter
Float64Counter is an alias for metric.Float64Counter.
Deprecated: Use metric.Float64Counter instead.
type Float64CounterConfig
deprecated
added in
v0.38.0
type Float64CounterConfig metric.Float64CounterConfig
Float64CounterConfig is an alias for metric.Float64CounterConfig.
Deprecated: Use metric.Float64CounterConfig instead.
func NewFloat64CounterConfig
deprecated
added in
v0.38.0
func NewFloat64CounterConfig(opts ...Float64CounterOption) Float64CounterConfig
NewFloat64CounterConfig wraps metric.NewFloat64CounterConfig.
Deprecated: Use metric.NewFloat64CounterConfig instead.
type Float64CounterOption
deprecated
added in
v0.38.0
type Float64CounterOption metric.Float64CounterOption
Float64CounterOption is an alias for metric.Float64CounterOption.
Deprecated: Use metric.Float64CounterOption instead.
type Float64Histogram
deprecated
added in
v0.35.0
type Float64Histogram metric.Float64Histogram
Float64Histogram is an alias for metric.Float64Histogram.
Deprecated: Use metric.Float64Histogram instead.
type Float64HistogramConfig
deprecated
added in
v0.38.0
type Float64HistogramConfig metric.Float64HistogramConfig
Float64HistogramConfig is an alias for metric.Float64HistogramConfig.
Deprecated: Use metric.Float64HistogramConfig instead.
func NewFloat64HistogramConfig
deprecated
added in
v0.38.0
func NewFloat64HistogramConfig(opts ...Float64HistogramOption) Float64HistogramConfig
NewFloat64HistogramConfig wraps metric.NewFloat64HistogramConfig.
Deprecated: Use metric.NewFloat64HistogramConfig instead.
type Float64HistogramOption
deprecated
added in
v0.38.0
type Float64HistogramOption metric.Float64HistogramOption
Float64HistogramOption is an alias for metric.Float64HistogramOption.
Deprecated: Use metric.Float64HistogramOption instead.
type Float64Observable
deprecated
added in
v0.35.0
type Float64Observable metric.Float64Observable
Float64Observable is an alias for metric.Float64Observable.
Deprecated: Use metric.Float64Observable instead.
type Float64ObservableCounter
deprecated
added in
v0.35.0
type Float64ObservableCounter metric.Float64ObservableCounter
Float64ObservableCounter is an alias for metric.Float64ObservableCounter.
Deprecated: Use metric.Float64ObservableCounter instead.
type Float64ObservableCounterConfig
deprecated
added in
v0.38.0
type Float64ObservableCounterConfig metric.Float64ObservableCounterConfig
Float64ObservableCounterConfig is an alias for metric.Float64ObservableCounterConfig.
Deprecated: Use metric.Float64ObservableCounterConfig instead.
func NewFloat64ObservableCounterConfig
deprecated
added in
v0.38.0
func NewFloat64ObservableCounterConfig(opts ...Float64ObservableCounterOption) Float64ObservableCounterConfig
NewFloat64ObservableCounterConfig wraps metric.NewFloat64ObservableCounterConfig.
Deprecated: Use metric.NewFloat64ObservableCounterConfig instead.
type Float64ObservableCounterOption
deprecated
added in
v0.38.0
type Float64ObservableCounterOption metric.Float64ObservableCounterOption
Float64ObservableCounterOption is an alias for metric.Float64ObservableCounterOption.
Deprecated: Use metric.Float64ObservableCounterOption instead.
type Float64ObservableGauge
deprecated
added in
v0.35.0
type Float64ObservableGauge metric.Float64ObservableGauge
Float64ObservableGauge is an alias for metric.Float64ObservableGauge.
Deprecated: Use metric.Float64ObservableGauge instead.
type Float64ObservableGaugeConfig
deprecated
added in
v0.38.0
type Float64ObservableGaugeConfig metric.Float64ObservableGaugeConfig
Float64ObservableGaugeConfig is an alias for metric.Float64ObservableGaugeConfig.
Deprecated: Use metric.Float64ObservableGaugeConfig instead.
func NewFloat64ObservableGaugeConfig
deprecated
added in
v0.38.0
func NewFloat64ObservableGaugeConfig(opts ...Float64ObservableGaugeOption) Float64ObservableGaugeConfig
NewFloat64ObservableGaugeConfig wraps metric.NewFloat64ObservableGaugeConfig.
Deprecated: Use metric.NewFloat64ObservableGaugeConfig instead.
type Float64ObservableGaugeOption
deprecated
added in
v0.38.0
type Float64ObservableGaugeOption metric.Float64ObservableGaugeOption
Float64ObservableGaugeOption is an alias for metric.Float64ObservableGaugeOption.
Deprecated: Use metric.Float64ObservableGaugeOption instead.
type Float64ObservableOption
deprecated
added in
v0.38.0
type Float64ObservableOption metric.Float64ObservableOption
Float64ObservableOption is an alias for metric.Float64ObservableOption.
Deprecated: Use metric.Float64ObservableOption instead.
func WithFloat64Callback
deprecated
added in
v0.35.0
func WithFloat64Callback(callback Float64Callback) Float64ObservableOption
WithFloat64Callback wraps metric.WithFloat64Callback.
Deprecated: Use metric.WithFloat64Callback instead.
type Float64ObservableUpDownCounter
deprecated
added in
v0.35.0
type Float64ObservableUpDownCounter metric.Float64ObservableUpDownCounter
Float64ObservableUpDownCounter is an alias for metric.Float64ObservableUpDownCounter.
Deprecated: Use metric.Float64ObservableUpDownCounter instead.
type Float64ObservableUpDownCounterConfig
deprecated
added in
v0.38.0
type Float64ObservableUpDownCounterConfig metric.Float64ObservableUpDownCounterConfig
Float64ObservableUpDownCounterConfig is an alias for metric.Float64ObservableUpDownCounterConfig.
Deprecated: Use metric.Float64ObservableUpDownCounterConfig instead.
func NewFloat64ObservableUpDownCounterConfig
deprecated
added in
v0.38.0
func NewFloat64ObservableUpDownCounterConfig(opts ...Float64ObservableUpDownCounterOption) Float64ObservableUpDownCounterConfig
NewFloat64ObservableUpDownCounterConfig wraps metric.NewFloat64ObservableUpDownCounterConfig.
Deprecated: Use metric.NewFloat64ObservableUpDownCounterConfig instead.
type Float64ObservableUpDownCounterOption
deprecated
added in
v0.38.0
type Float64ObservableUpDownCounterOption metric.Float64ObservableUpDownCounterOption
Float64ObservableUpDownCounterOption is an alias for metric.Float64ObservableUpDownCounterOption.
Deprecated: Use metric.Float64ObservableUpDownCounterOption instead.
type Float64Observer
deprecated
added in
v0.35.0
type Float64Observer metric.Float64Observer
Float64Observer is an alias for metric.Float64Observer.
Deprecated: Use metric.Float64Observer instead.
type Float64UpDownCounter
deprecated
added in
v0.35.0
type Float64UpDownCounter metric.Float64UpDownCounter
Float64UpDownCounter is an alias for metric.Float64UpDownCounter.
Deprecated: Use metric.Float64UpDownCounter instead.
type Float64UpDownCounterConfig
deprecated
added in
v0.38.0
type Float64UpDownCounterConfig metric.Float64UpDownCounterConfig
Float64UpDownCounterConfig is an alias for metric.Float64UpDownCounterConfig.
Deprecated: Use metric.Float64UpDownCounterConfig instead.
func NewFloat64UpDownCounterConfig
deprecated
added in
v0.38.0
func NewFloat64UpDownCounterConfig(opts ...Float64UpDownCounterOption) Float64UpDownCounterConfig
NewFloat64UpDownCounterConfig wraps metric.NewFloat64UpDownCounterConfig.
Deprecated: Use metric.NewFloat64UpDownCounterConfig instead.
type Float64UpDownCounterOption
deprecated
added in
v0.38.0
type Float64UpDownCounterOption metric.Float64UpDownCounterOption
Float64UpDownCounterOption is an alias for metric.Float64UpDownCounterOption.
Deprecated: Use metric.Float64UpDownCounterOption instead.
type Int64Callback
deprecated
added in
v0.35.0
type Int64Callback metric.Int64Callback
Int64Callback is an alias for metric.Int64Callback.
Deprecated: Use metric.Int64Callback instead.
type Int64Counter
deprecated
added in
v0.35.0
type Int64Counter metric.Int64Counter
Int64Counter is an alias for metric.Int64Counter.
Deprecated: Use metric.Int64Counter instead.
type Int64CounterConfig
deprecated
added in
v0.38.0
type Int64CounterConfig metric.Int64CounterConfig
Int64CounterConfig is an alias for metric.Int64CounterConfig.
Deprecated: Use metric.Int64CounterConfig instead.
func NewInt64CounterConfig
deprecated
added in
v0.38.0
func NewInt64CounterConfig(opts ...Int64CounterOption) Int64CounterConfig
NewInt64CounterConfig wraps metric.NewInt64CounterConfig.
Deprecated: Use metric.NewInt64CounterConfig instead.
type Int64CounterOption
deprecated
added in
v0.38.0
type Int64CounterOption metric.Int64CounterOption
Int64CounterOption is an alias for metric.Int64CounterOption.
Deprecated: Use metric.Int64CounterOption instead.
type Int64Histogram
deprecated
added in
v0.35.0
type Int64Histogram metric.Int64Histogram
Int64Histogram is an alias for metric.Int64Histogram.
Deprecated: Use metric.Int64Histogram instead.
type Int64HistogramConfig
deprecated
added in
v0.38.0
type Int64HistogramConfig metric.Int64HistogramConfig
Int64HistogramConfig is an alias for metric.Int64HistogramConfig.
Deprecated: Use metric.Int64HistogramConfig instead.
func NewInt64HistogramConfig
deprecated
added in
v0.38.0
func NewInt64HistogramConfig(opts ...Int64HistogramOption) Int64HistogramConfig
NewInt64HistogramConfig wraps metric.NewInt64HistogramConfig.
Deprecated: Use metric.NewInt64HistogramConfig instead.
type Int64HistogramOption
deprecated
added in
v0.38.0
type Int64HistogramOption metric.Int64HistogramOption
Int64HistogramOption is an alias for metric.Int64HistogramOption.
Deprecated: Use metric.Int64HistogramOption instead.
type Int64Observable
deprecated
added in
v0.35.0
type Int64Observable metric.Int64Observable
Int64Observable is an alias for metric.Int64Observable.
Deprecated: Use metric.Int64Observable instead.
type Int64ObservableCounter
deprecated
added in
v0.35.0
type Int64ObservableCounter metric.Int64ObservableCounter
Int64ObservableCounter is an alias for metric.Int64ObservableCounter.
Deprecated: Use metric.Int64ObservableCounter instead.
type Int64ObservableCounterConfig
deprecated
added in
v0.38.0
type Int64ObservableCounterConfig metric.Int64ObservableCounterConfig
Int64ObservableCounterConfig is an alias for metric.Int64ObservableCounterConfig.
Deprecated: Use metric.Int64ObservableCounterConfig instead.
func NewInt64ObservableCounterConfig
deprecated
added in
v0.38.0
func NewInt64ObservableCounterConfig(opts ...Int64ObservableCounterOption) Int64ObservableCounterConfig
NewInt64ObservableCounterConfig wraps metric.NewInt64ObservableCounterConfig.
Deprecated: Use metric.NewInt64ObservableCounterConfig instead.
type Int64ObservableCounterOption
deprecated
added in
v0.38.0
type Int64ObservableCounterOption metric.Int64ObservableCounterOption
Int64ObservableCounterOption is an alias for metric.Int64ObservableCounterOption.
Deprecated: Use metric.Int64ObservableCounterOption instead.
type Int64ObservableGauge
deprecated
added in
v0.35.0
type Int64ObservableGauge metric.Int64ObservableGauge
Int64ObservableGauge is an alias for metric.Int64ObservableGauge.
Deprecated: Use metric.Int64ObservableGauge instead.
type Int64ObservableGaugeConfig
deprecated
added in
v0.38.0
type Int64ObservableGaugeConfig metric.Int64ObservableGaugeConfig
Int64ObservableGaugeConfig is an alias for metric.Int64ObservableGaugeConfig.
Deprecated: Use metric.Int64ObservableGaugeConfig instead.
func NewInt64ObservableGaugeConfig
deprecated
added in
v0.38.0
func NewInt64ObservableGaugeConfig(opts ...Int64ObservableGaugeOption) Int64ObservableGaugeConfig
NewInt64ObservableGaugeConfig wraps metric.NewInt64ObservableGaugeConfig.
Deprecated: Use metric.NewInt64ObservableGaugeConfig instead.
type Int64ObservableGaugeOption
deprecated
added in
v0.38.0
type Int64ObservableGaugeOption metric.Int64ObservableGaugeOption
Int64ObservableGaugeOption is an alias for metric.Int64ObservableGaugeOption.
Deprecated: Use metric.Int64ObservableGaugeOption instead.
type Int64ObservableOption
deprecated
added in
v0.38.0
type Int64ObservableOption metric.Int64ObservableOption
Int64ObservableOption is an alias for metric.Int64ObservableOption.
Deprecated: Use metric.Int64ObservableOption instead.
func WithInt64Callback
deprecated
added in
v0.35.0
func WithInt64Callback(callback Int64Callback) Int64ObservableOption
WithInt64Callback wraps metric.WithInt64Callback.
Deprecated: Use metric.WithInt64Callback instead.
type Int64ObservableUpDownCounter
deprecated
added in
v0.35.0
type Int64ObservableUpDownCounter metric.Int64ObservableUpDownCounter
Int64ObservableUpDownCounter is an alias for metric.Int64ObservableUpDownCounter.
Deprecated: Use metric.Int64ObservableUpDownCounter instead.
type Int64ObservableUpDownCounterConfig
deprecated
added in
v0.38.0
type Int64ObservableUpDownCounterConfig metric.Int64ObservableUpDownCounterConfig
Int64ObservableUpDownCounterConfig is an alias for metric.Int64ObservableUpDownCounterConfig.
Deprecated: Use metric.Int64ObservableUpDownCounterConfig instead.
func NewInt64ObservableUpDownCounterConfig
deprecated
added in
v0.38.0
func NewInt64ObservableUpDownCounterConfig(opts ...Int64ObservableUpDownCounterOption) Int64ObservableUpDownCounterConfig
NewInt64ObservableUpDownCounterConfig wraps metric.NewInt64ObservableUpDownCounterConfig.
Deprecated: Use metric.NewInt64ObservableUpDownCounterConfig instead.
type Int64ObservableUpDownCounterOption
deprecated
added in
v0.38.0
type Int64ObservableUpDownCounterOption metric.Int64ObservableUpDownCounterOption
Int64ObservableUpDownCounterOption is an alias for metric.Int64ObservableUpDownCounterOption.
Deprecated: Use metric.Int64ObservableUpDownCounterOption instead.
type Int64Observer
deprecated
added in
v0.35.0
type Int64Observer metric.Int64Observer
Int64Observer is an alias for metric.Int64Observer.
Deprecated: Use metric.Int64Observer instead.
type Int64UpDownCounter
deprecated
added in
v0.35.0
type Int64UpDownCounter metric.Int64UpDownCounter
Int64UpDownCounter is an alias for metric.Int64UpDownCounter.
Deprecated: Use metric.Int64UpDownCounter instead.
type Int64UpDownCounterConfig
deprecated
added in
v0.38.0
type Int64UpDownCounterConfig metric.Int64UpDownCounterConfig
Int64UpDownCounterConfig is an alias for metric.Int64UpDownCounterConfig.
Deprecated: Use metric.Int64UpDownCounterConfig instead.
func NewInt64UpDownCounterConfig
deprecated
added in
v0.38.0
func NewInt64UpDownCounterConfig(opts ...Int64UpDownCounterOption) Int64UpDownCounterConfig
NewInt64UpDownCounterConfig wraps metric.NewInt64UpDownCounterConfig.
Deprecated: Use metric.NewInt64UpDownCounterConfig instead.
type Int64UpDownCounterOption
deprecated
added in
v0.38.0
type Int64UpDownCounterOption metric.Int64UpDownCounterOption
Int64UpDownCounterOption is an alias for metric.Int64UpDownCounterOption.
Deprecated: Use metric.Int64UpDownCounterOption instead.
type Observable
deprecated
added in
v0.38.0
type Observable metric.Observable
Observable is an alias for metric.Observable.
Deprecated: Use metric.Observable instead.
type Option
deprecated
type Option metric.InstrumentOption
Option is an alias for metric.InstrumentOption.
Deprecated: Use metric.InstrumentOption instead.
func WithDescription
deprecated
WithDescription is an alias for metric.WithDescription.
Deprecated: Use metric.WithDescription instead.
func WithUnit
deprecated
WithUnit is an alias for metric.WithUnit.
Deprecated: Use metric.WithUnit instead.