Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadFromChannel ¶
func ReadFromChannel(r *ReadDecorator) swarm.InstanceFunc
Types ¶
type Decorator ¶
Decorator modifies a []request.Span slice to fill it with extra information that is not provided by the tracers (for example, the instance ID)
func HostNamePIDDecorator ¶
func HostNamePIDDecorator(cfg *config.InstanceIDConfig) Decorator
type ReadDecorator ¶
type ReadDecorator struct {
TracesInput *msg.Queue[[]request.Span]
DecoratedTraces *msg.Queue[[]request.Span]
InstanceID config.InstanceIDConfig
}
ReadDecorator is the input node of the processing graph. The eBPF tracers will send their traces to the ReadDecorator's TracesInput, and the ReadDecorator will decorate the traces with some basic information (e.g. instance ID) and forward them to the next pipeline stage
Click to show internal directories.
Click to hide internal directories.