Documentation
¶
Index ¶
- type Async
- type Batch
- type Handle
- type Instrument
- type LabelSet
- type Measurement
- type Meter
- func (m *Meter) Labels(labels ...core.KeyValue) apimetric.LabelSet
- func (m *Meter) NewAsyncInstrument(descriptor metric.Descriptor, ...) (apimetric.AsyncImpl, error)
- func (m *Meter) NewSyncInstrument(descriptor metric.Descriptor) (apimetric.SyncImpl, error)
- func (m *Meter) RecordBatch(ctx context.Context, labels apimetric.LabelSet, ...)
- func (m *Meter) RunAsyncInstruments()
- type MeterProvider
- type Sync
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Async ¶ added in v0.3.0
type Async struct { Instrument // contains filtered or unexported fields }
func (*Async) Implementation ¶ added in v0.3.0
func (a *Async) Implementation() interface{}
type Batch ¶
type Batch struct { // Measurement needs to be aligned for 64-bit atomic operations. Measurements []Measurement Ctx context.Context LabelSet *LabelSet }
type Instrument ¶
type Instrument struct {
// contains filtered or unexported fields
}
func (Instrument) Descriptor ¶ added in v0.3.0
func (i Instrument) Descriptor() apimetric.Descriptor
type Measurement ¶
type Measurement struct { // Number needs to be aligned for 64-bit atomic operations. Number core.Number Instrument apimetric.InstrumentImpl }
type Meter ¶
func (*Meter) NewAsyncInstrument ¶ added in v0.3.0
func (*Meter) NewSyncInstrument ¶ added in v0.3.0
func (*Meter) RecordBatch ¶
func (*Meter) RunAsyncInstruments ¶ added in v0.3.0
func (m *Meter) RunAsyncInstruments()
type MeterProvider ¶ added in v0.2.1
type MeterProvider struct {
// contains filtered or unexported fields
}
func NewProvider ¶ added in v0.2.1
func NewProvider() *MeterProvider
type Sync ¶ added in v0.3.0
type Sync struct {
Instrument
}
func (*Sync) Bind ¶ added in v0.3.0
func (s *Sync) Bind(labels apimetric.LabelSet) apimetric.BoundSyncImpl
func (*Sync) Implementation ¶ added in v0.3.0
func (s *Sync) Implementation() interface{}
Click to show internal directories.
Click to hide internal directories.