package test
import "go.opentelemetry.io/otel/exporter/metric/test"
Index ¶
- type CheckpointSet
- func NewCheckpointSet(encoder export.LabelEncoder) *CheckpointSet
- func (p *CheckpointSet) Add(desc *export.Descriptor, agg export.Aggregator, labels ...core.KeyValue)
- func (p *CheckpointSet) AddCounter(desc *export.Descriptor, v float64, labels ...core.KeyValue)
- func (p *CheckpointSet) AddGauge(desc *export.Descriptor, v float64, labels ...core.KeyValue)
- func (p *CheckpointSet) AddMeasure(desc *export.Descriptor, v float64, labels ...core.KeyValue)
- func (p *CheckpointSet) ForEach(f func(export.Record))
- func (p *CheckpointSet) Reset()
Types ¶
type CheckpointSet ¶
type CheckpointSet struct {
// contains filtered or unexported fields
}
func NewCheckpointSet ¶
func NewCheckpointSet(encoder export.LabelEncoder) *CheckpointSet
func (*CheckpointSet) Add ¶
func (p *CheckpointSet) Add(desc *export.Descriptor, agg export.Aggregator, labels ...core.KeyValue)
func (*CheckpointSet) AddCounter ¶
func (p *CheckpointSet) AddCounter(desc *export.Descriptor, v float64, labels ...core.KeyValue)
func (*CheckpointSet) AddGauge ¶
func (p *CheckpointSet) AddGauge(desc *export.Descriptor, v float64, labels ...core.KeyValue)
func (*CheckpointSet) AddMeasure ¶
func (p *CheckpointSet) AddMeasure(desc *export.Descriptor, v float64, labels ...core.KeyValue)
func (*CheckpointSet) ForEach ¶
func (p *CheckpointSet) ForEach(f func(export.Record))
func (*CheckpointSet) Reset ¶
func (p *CheckpointSet) Reset()
Source Files ¶
test.go
- Version
- v0.2.0
- Published
- Dec 3, 2019
- Platform
- darwin/amd64
- Imports
- 6 packages
- Last checked
- 45 minutes ago –
Tools for package owners.