Documentation ¶
Index ¶
- type InMemoryExporter
- func (i *InMemoryExporter) Aggregation(k metric.InstrumentKind) metric.Aggregation
- func (i *InMemoryExporter) Export(_ context.Context, data *metricdata.ResourceMetrics) error
- func (i *InMemoryExporter) ForceFlush(ctx context.Context) error
- func (i *InMemoryExporter) GetMetrics() []metricdata.ResourceMetrics
- func (i *InMemoryExporter) Reset()
- func (i *InMemoryExporter) Shutdown(_ context.Context) error
- func (i *InMemoryExporter) Temporality(k metric.InstrumentKind) metricdata.Temporality
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InMemoryExporter ¶
type InMemoryExporter struct {
// contains filtered or unexported fields
}
func NewInMemoryExporter ¶
func NewInMemoryExporter() *InMemoryExporter
func (*InMemoryExporter) Aggregation ¶
func (i *InMemoryExporter) Aggregation(k metric.InstrumentKind) metric.Aggregation
func (*InMemoryExporter) Export ¶
func (i *InMemoryExporter) Export(_ context.Context, data *metricdata.ResourceMetrics) error
func (*InMemoryExporter) ForceFlush ¶
func (i *InMemoryExporter) ForceFlush(ctx context.Context) error
func (*InMemoryExporter) GetMetrics ¶
func (i *InMemoryExporter) GetMetrics() []metricdata.ResourceMetrics
func (*InMemoryExporter) Reset ¶
func (i *InMemoryExporter) Reset()
func (*InMemoryExporter) Temporality ¶
func (i *InMemoryExporter) Temporality(k metric.InstrumentKind) metricdata.Temporality
Click to show internal directories.
Click to hide internal directories.