type Observable …
type InstrumentOption …
type HistogramOption …
type descOpt …
func (o descOpt) applyFloat64Counter(c Float64CounterConfig) Float64CounterConfig { … }
func (o descOpt) applyFloat64UpDownCounter(c Float64UpDownCounterConfig) Float64UpDownCounterConfig { … }
func (o descOpt) applyFloat64Histogram(c Float64HistogramConfig) Float64HistogramConfig { … }
func (o descOpt) applyFloat64Gauge(c Float64GaugeConfig) Float64GaugeConfig { … }
func (o descOpt) applyFloat64ObservableCounter(c Float64ObservableCounterConfig) Float64ObservableCounterConfig { … }
func (o descOpt) applyFloat64ObservableUpDownCounter(c Float64ObservableUpDownCounterConfig) Float64ObservableUpDownCounterConfig { … }
func (o descOpt) applyFloat64ObservableGauge(c Float64ObservableGaugeConfig) Float64ObservableGaugeConfig { … }
func (o descOpt) applyInt64Counter(c Int64CounterConfig) Int64CounterConfig { … }
func (o descOpt) applyInt64UpDownCounter(c Int64UpDownCounterConfig) Int64UpDownCounterConfig { … }
func (o descOpt) applyInt64Histogram(c Int64HistogramConfig) Int64HistogramConfig { … }
func (o descOpt) applyInt64Gauge(c Int64GaugeConfig) Int64GaugeConfig { … }
func (o descOpt) applyInt64ObservableCounter(c Int64ObservableCounterConfig) Int64ObservableCounterConfig { … }
func (o descOpt) applyInt64ObservableUpDownCounter(c Int64ObservableUpDownCounterConfig) Int64ObservableUpDownCounterConfig { … }
func (o descOpt) applyInt64ObservableGauge(c Int64ObservableGaugeConfig) Int64ObservableGaugeConfig { … }
func WithDescription(desc string) InstrumentOption { … }
type unitOpt …
func (o unitOpt) applyFloat64Counter(c Float64CounterConfig) Float64CounterConfig { … }
func (o unitOpt) applyFloat64UpDownCounter(c Float64UpDownCounterConfig) Float64UpDownCounterConfig { … }
func (o unitOpt) applyFloat64Histogram(c Float64HistogramConfig) Float64HistogramConfig { … }
func (o unitOpt) applyFloat64Gauge(c Float64GaugeConfig) Float64GaugeConfig { … }
func (o unitOpt) applyFloat64ObservableCounter(c Float64ObservableCounterConfig) Float64ObservableCounterConfig { … }
func (o unitOpt) applyFloat64ObservableUpDownCounter(c Float64ObservableUpDownCounterConfig) Float64ObservableUpDownCounterConfig { … }
func (o unitOpt) applyFloat64ObservableGauge(c Float64ObservableGaugeConfig) Float64ObservableGaugeConfig { … }
func (o unitOpt) applyInt64Counter(c Int64CounterConfig) Int64CounterConfig { … }
func (o unitOpt) applyInt64UpDownCounter(c Int64UpDownCounterConfig) Int64UpDownCounterConfig { … }
func (o unitOpt) applyInt64Histogram(c Int64HistogramConfig) Int64HistogramConfig { … }
func (o unitOpt) applyInt64Gauge(c Int64GaugeConfig) Int64GaugeConfig { … }
func (o unitOpt) applyInt64ObservableCounter(c Int64ObservableCounterConfig) Int64ObservableCounterConfig { … }
func (o unitOpt) applyInt64ObservableUpDownCounter(c Int64ObservableUpDownCounterConfig) Int64ObservableUpDownCounterConfig { … }
func (o unitOpt) applyInt64ObservableGauge(c Int64ObservableGaugeConfig) Int64ObservableGaugeConfig { … }
func WithUnit(u string) InstrumentOption { … }
func WithExplicitBucketBoundaries(bounds ...float64) HistogramOption { … }
type bucketOpt …
func (o bucketOpt) applyFloat64Histogram(c Float64HistogramConfig) Float64HistogramConfig { … }
func (o bucketOpt) applyInt64Histogram(c Int64HistogramConfig) Int64HistogramConfig { … }
type AddOption …
type AddConfig …
func NewAddConfig(opts []AddOption) AddConfig { … }
func (c AddConfig) Attributes() attribute.Set { … }
type RecordOption …
type RecordConfig …
func NewRecordConfig(opts []RecordOption) RecordConfig { … }
func (c RecordConfig) Attributes() attribute.Set { … }
type ObserveOption …
type ObserveConfig …
func NewObserveConfig(opts []ObserveOption) ObserveConfig { … }
func (c ObserveConfig) Attributes() attribute.Set { … }
type MeasurementOption …
type attrOpt …
func mergeSets(a, b attribute.Set) attribute.Set { … }
func (o attrOpt) applyAdd(c AddConfig) AddConfig { … }
func (o attrOpt) applyRecord(c RecordConfig) RecordConfig { … }
func (o attrOpt) applyObserve(c ObserveConfig) ObserveConfig { … }
func WithAttributeSet(attributes attribute.Set) MeasurementOption { … }
func WithAttributes(attributes ...attribute.KeyValue) MeasurementOption { … }