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 // listening server accepts spans on the same HTTP path that ingest accepts // them (e.g. `/v1/trace`). Requests to other paths will return 404s. 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
Click to show internal directories.
Click to hide internal directories.