traceforwarder

package
v3.8.2+incompatible Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	config.MonitorConfig `yaml:",inline" acceptsEndpoints:"false" singleInstance:"true"`
	// The host:port on which to listen for spans.  This server accepts spans
	// in all of the formats that we support on our regular ingest server.  The
	// HTTP path used is irrelevant and will be ignored.
	ListenAddress string `yaml:"listenAddress" default:"127.0.0.1:9080"`
	// HTTP timeout duration for both read and writes. This should be a
	// duration string that is accepted by https://golang.org/pkg/time/#ParseDuration
	ServerTimeout time.Duration `yaml:"serverTimeout" default:"5s"`
	// Whether to send internal metrics about the HTTP listener
	SendInternalMetrics *bool `yaml:"sendInternalMetrics" default:"false"`
}

Config for this monitor

type Monitor

type Monitor struct {
	Output types.Output
	// contains filtered or unexported fields
}

Monitor that accepts and forwards trace spans

func (*Monitor) Configure

func (m *Monitor) Configure(conf *Config) error

Configure the monitor and kick off volume metric syncing

func (*Monitor) Shutdown

func (m *Monitor) Shutdown()

Shutdown stops the forwarder and correlation MTSs

Jump to

Keyboard shortcuts

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