Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // QueueSize is the size of collector's queue QueueSize = flag.Int("collector.queue-size", app.DefaultQueueSize, "The queue size of the collector") // NumWorkers is the number of internal workers in a collector NumWorkers = flag.Int("collector.num-workers", app.DefaultNumWorkers, "The number of workers pulling items from the queue") // WriteCacheTTL denotes how often to check and re-write a service or operation name WriteCacheTTL = flag.Duration("collector.write-cache-ttl", time.Hour*12, "The duration to wait before rewriting an existing service or operation name") // CollectorPort is the port that the collector service listens in on for tchannel requests CollectorPort = flag.Int("collector.port", 14267, "The tchannel port for the collector service") // CollectorHTTPPort is the port that the collector service listens in on for http requests CollectorHTTPPort = flag.Int("collector.http-port", 14268, "The http port for the collector service") )
Functions ¶
This section is empty.
Types ¶
type SpanHandlerBuilder ¶
type SpanHandlerBuilder interface {
BuildHandlers() (app.ZipkinSpansHandler, app.JaegerBatchesHandler, error)
}
SpanHandlerBuilder builds span (Jaeger and zipkin) handlers
func NewSpanHandlerBuilder ¶
func NewSpanHandlerBuilder(opts ...basicB.Option) (SpanHandlerBuilder, error)
NewSpanHandlerBuilder returns a span handler
Click to show internal directories.
Click to hide internal directories.