config

package
v0.9.6 Latest Latest
Warning

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

Go to latest
Published: May 29, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	Metrics       instrument.MetricsConfiguration `yaml:"metrics"`
	Logging       zap.Config                      `yaml:"logging"`
	ListenAddress listenaddress.Configuration     `yaml:"listenAddress" validate:"nonzero"`
	Etcd          etcdclient.Configuration        `yaml:"etcd"`
	Reporter      ReporterConfiguration           `yaml:"reporter"`
}

Configuration is configuration for the collector.

type ReporterConfiguration

type ReporterConfiguration struct {
	Cache                 cache.Configuration          `yaml:"cache" validate:"nonzero"`
	Matcher               matcher.Configuration        `yaml:"matcher" validate:"nonzero"`
	Client                client.Configuration         `yaml:"client"`
	SortedTagIteratorPool pool.ObjectPoolConfiguration `yaml:"sortedTagIteratorPool"`
	Clock                 clock.Configuration          `yaml:"clock"`
}

ReporterConfiguration is the collector

Jump to

Keyboard shortcuts

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