Back to godoc.org

Package config

v0.0.0-...-9649366
Latest Go to latest

The latest major version is .

Published: Nov 21, 2019 | License: Apache-2.0 | Module: github.com/chronosphereiox/m3

Index

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

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier