Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Receiver ¶
type Receiver struct {
// contains filtered or unexported fields
}
Receiver is the type used to handle spans from OpenTelemetry exporters.
func New ¶
func New(id config.ComponentID, nextConsumer consumer.Traces, set component.ReceiverCreateSettings) *Receiver
New creates a new Receiver reference.
func (*Receiver) Export ¶
func (r *Receiver) Export(ctx context.Context, req ptraceotlp.Request) (ptraceotlp.Response, error)
Export implements the service Export traces func.
Click to show internal directories.
Click to hide internal directories.