builder

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2018 License: Apache-2.0 Imports: 11 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddFlags added in v0.6.0

func AddFlags(flags *flag.FlagSet)

AddFlags adds flags for CollectorOptions

Types

type CollectorOptions added in v0.6.0

type CollectorOptions struct {
	// QueueSize is the size of collector's queue
	QueueSize int
	// NumWorkers is the number of internal workers in a collector
	NumWorkers int
	// CollectorPort is the port that the collector service listens in on for tchannel requests
	CollectorPort int
	// CollectorHTTPPort is the port that the collector service listens in on for http requests
	CollectorHTTPPort int
	// CollectorZipkinHTTPPort is the port that the Zipkin collector service listens in on for http requests
	CollectorZipkinHTTPPort int
	// CollectorHealthCheckHTTPPort is the port that the health check service listens in on for http requests
	CollectorHealthCheckHTTPPort int
}

CollectorOptions holds configuration for collector

func (*CollectorOptions) InitFromViper added in v0.6.0

func (cOpts *CollectorOptions) InitFromViper(v *viper.Viper) *CollectorOptions

InitFromViper initializes CollectorOptions with properties from viper

type SpanHandlerBuilder

type SpanHandlerBuilder struct {
	// contains filtered or unexported fields
}

SpanHandlerBuilder holds configuration required for handlers

func NewSpanHandlerBuilder

func NewSpanHandlerBuilder(cOpts *CollectorOptions, spanWriter spanstore.Writer, opts ...basicB.Option) (*SpanHandlerBuilder, error)

NewSpanHandlerBuilder returns new SpanHandlerBuilder with configured span storage.

func (*SpanHandlerBuilder) BuildHandlers

BuildHandlers builds span handlers (Zipkin, Jaeger)

Jump to

Keyboard shortcuts

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