builder

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2018 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddFlags added in v0.6.0

func AddFlags(flagSet *flag.FlagSet)

AddFlags adds flags for QueryOptions

Types

type QueryOptions added in v0.6.0

type QueryOptions struct {
	// Port is the port that the query service listens in on
	Port int
	// Prefix is the prefix of the query service api
	Prefix string
	// StaticAssets is the path for the static assets for the UI (https://github.com/uber/jaeger-ui)
	StaticAssets string
	// UIConfig is the path to a configuration file for the UI
	UIConfig string
	// HealthCheckHTTPPort is the port that the health check service listens in on for http requests
	HealthCheckHTTPPort int
}

QueryOptions holds configuration for query

func (*QueryOptions) InitFromViper added in v0.6.0

func (qOpts *QueryOptions) InitFromViper(v *viper.Viper) *QueryOptions

InitFromViper initializes QueryOptions with properties from viper

type StorageBuilder

type StorageBuilder struct {
	SpanReader       spanstore.Reader
	DependencyReader dependencystore.Reader
	// contains filtered or unexported fields
}

StorageBuilder is the interface that provides the necessary store readers

func NewStorageBuilder

func NewStorageBuilder(storageType string, dependencyDataFreq time.Duration, opts ...basicB.Option) (*StorageBuilder, error)

NewStorageBuilder creates a StorageBuilder based off the flags that have been set

Jump to

Keyboard shortcuts

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