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. |
Click to show internal directories.
Click to hide internal directories.