Versions in this module Expand all Collapse all v1 v1.17.0 Feb 24, 2020 Changes in this version + const UnableToReadBodyErrFormat + type APIHandler struct + func NewAPIHandler(jaegerBatchesHandler JaegerBatchesHandler) *APIHandler + func (aH *APIHandler) RegisterRoutes(router *mux.Router) + func (aH *APIHandler) SaveSpan(w http.ResponseWriter, r *http.Request) + type GRPCHandler struct + func NewGRPCHandler(logger *zap.Logger, spanProcessor processor.SpanProcessor) *GRPCHandler + func (g *GRPCHandler) PostSpans(ctx context.Context, r *api_v2.PostSpansRequest) (*api_v2.PostSpansResponse, error) + type JaegerBatchesHandler interface + SubmitBatches func(batches []*jaeger.Batch, options SubmitBatchOptions) ([]*jaeger.BatchSubmitResponse, error) + func NewJaegerSpanHandler(logger *zap.Logger, modelProcessor processor.SpanProcessor) JaegerBatchesHandler + type SubmitBatchOptions struct + InboundTransport processor.InboundTransport + type TChannelHandler struct + func NewTChannelHandler(jaegerHandler JaegerBatchesHandler, zipkinHandler ZipkinSpansHandler) *TChannelHandler + func (h *TChannelHandler) SubmitBatches(_ thrift.Context, batches []*jaeger.Batch) ([]*jaeger.BatchSubmitResponse, error) + func (h *TChannelHandler) SubmitZipkinBatch(_ thrift.Context, spans []*zipkincore.Span) ([]*zipkincore.Response, error) + type ZipkinSpansHandler interface + SubmitZipkinBatch func(spans []*zipkincore.Span, options SubmitBatchOptions) ([]*zipkincore.Response, error) + func NewZipkinSpanHandler(logger *zap.Logger, modelHandler processor.SpanProcessor, ...) ZipkinSpansHandler