Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConcurrentSpanSink ¶
type ConcurrentSpanSink struct {
// contains filtered or unexported fields
}
ConcurrentSpanSink acts as a trace receiver for use in tests.
func (*ConcurrentSpanSink) AllTraces ¶
func (css *ConcurrentSpanSink) AllTraces() []*agenttracepb.ExportTraceServiceRequest
AllTraces returns the traces sent to the test sink.
func (*ConcurrentSpanSink) ReceiveTraceData ¶
func (css *ConcurrentSpanSink) ReceiveTraceData(ctx context.Context, td data.TraceData) (*receiver.TraceReceiverAcknowledgement, error)
ReceiveTraceData stores traces in the span sink for verification in tests.
Click to show internal directories.
Click to hide internal directories.