Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TChannelHandler ¶
type TChannelHandler struct {
// contains filtered or unexported fields
}
TChannelHandler implements jaeger.TChanCollector and zipkincore.TChanZipkinCollector.
func NewTChannelHandler ¶
func NewTChannelHandler( jaegerHandler handler.JaegerBatchesHandler, zipkinHandler handler.ZipkinSpansHandler, ) *TChannelHandler
NewTChannelHandler creates new handler that implements both Jaeger and Zipkin endpoints.
func (*TChannelHandler) SubmitBatches ¶
func (h *TChannelHandler) SubmitBatches( _ thrift.Context, batches []*jaeger.Batch, ) ([]*jaeger.BatchSubmitResponse, error)
SubmitBatches implements jaeger.TChanCollector.
func (*TChannelHandler) SubmitZipkinBatch ¶
func (h *TChannelHandler) SubmitZipkinBatch( _ thrift.Context, spans []*zipkincore.Span, ) ([]*zipkincore.Response, error)
SubmitZipkinBatch implements zipkincore.TChanZipkinCollector.
Click to show internal directories.
Click to hide internal directories.