Documentation ¶
Index ¶
- type Batch
- type Handle
- type Instrument
- type Kind
- type LabelSet
- type Measurement
- type Meter
- func (m *Meter) Labels(labels ...core.KeyValue) apimetric.LabelSet
- func (m *Meter) NewFloat64Counter(name string, cos ...apimetric.CounterOptionApplier) apimetric.Float64Counter
- func (m *Meter) NewFloat64Gauge(name string, gos ...apimetric.GaugeOptionApplier) apimetric.Float64Gauge
- func (m *Meter) NewFloat64Measure(name string, mos ...apimetric.MeasureOptionApplier) apimetric.Float64Measure
- func (m *Meter) NewInt64Counter(name string, cos ...apimetric.CounterOptionApplier) apimetric.Int64Counter
- func (m *Meter) NewInt64Gauge(name string, gos ...apimetric.GaugeOptionApplier) apimetric.Int64Gauge
- func (m *Meter) NewInt64Measure(name string, mos ...apimetric.MeasureOptionApplier) apimetric.Int64Measure
- func (m *Meter) RecordBatch(ctx context.Context, labels apimetric.LabelSet, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Batch ¶
type Batch struct { Ctx context.Context LabelSet *LabelSet Measurements []Measurement }
type Handle ¶
type Handle struct { Instrument *Instrument LabelSet *LabelSet }
type Instrument ¶
func (*Instrument) AcquireHandle ¶
func (i *Instrument) AcquireHandle(labels apimetric.LabelSet) apimetric.HandleImpl
type Measurement ¶
type Measurement struct { Instrument *Instrument Number core.Number }
type Meter ¶
type Meter struct {
MeasurementBatches []Batch
}
func (*Meter) NewFloat64Counter ¶
func (m *Meter) NewFloat64Counter(name string, cos ...apimetric.CounterOptionApplier) apimetric.Float64Counter
func (*Meter) NewFloat64Gauge ¶
func (m *Meter) NewFloat64Gauge(name string, gos ...apimetric.GaugeOptionApplier) apimetric.Float64Gauge
func (*Meter) NewFloat64Measure ¶
func (m *Meter) NewFloat64Measure(name string, mos ...apimetric.MeasureOptionApplier) apimetric.Float64Measure
func (*Meter) NewInt64Counter ¶
func (m *Meter) NewInt64Counter(name string, cos ...apimetric.CounterOptionApplier) apimetric.Int64Counter
func (*Meter) NewInt64Gauge ¶
func (m *Meter) NewInt64Gauge(name string, gos ...apimetric.GaugeOptionApplier) apimetric.Int64Gauge
func (*Meter) NewInt64Measure ¶
func (m *Meter) NewInt64Measure(name string, mos ...apimetric.MeasureOptionApplier) apimetric.Int64Measure
func (*Meter) RecordBatch ¶
Click to show internal directories.
Click to hide internal directories.