consumer

package
v0.2.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 30, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package consumer contains interfaces that receive and process consumerdata.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MetricsConsumer

type MetricsConsumer interface {
	ConsumeMetricsData(ctx context.Context, md consumerdata.MetricsData) error
}

MetricsConsumer is an interface that receives consumerdata.MetricsData, process it as needed, and sends it to the next processing node if any or to the destination.

ConsumeMetricsData receives consumerdata.MetricsData for processing by the MetricsConsumer.

type TraceConsumer

type TraceConsumer interface {
	ConsumeTraceData(ctx context.Context, td consumerdata.TraceData) error
}

TraceConsumer is an interface that receives consumerdata.TraceData, process it as needed, and sends it to the next processing node if any or to the destination.

ConsumeTraceData receives consumerdata.TraceData for processing by the TraceConsumer.

Directories

Path Synopsis
Package consumerdata contains data structures that holds proto metrics/spans, node and resource.
Package consumerdata contains data structures that holds proto metrics/spans, node and resource.
Package consumererror provides wrappers to easily classify errors.
Package consumererror provides wrappers to easily classify errors.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL