builder

package
v0.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 4, 2017 License: MIT Imports: 15 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL