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:"true"` // Host of the exporter Host string `yaml:"host" validate:"required"` // Port of the exporter Port uint16 `yaml:"port" validate:"required"` // If true, the agent will connect to the exporter using HTTPS instead of // plain HTTP. UseHTTPS bool `yaml:"useHTTPS"` // If useHTTPS is true and this option is also true, the exporter's TLS // cert will not be verified. SkipVerify bool `yaml:"skipVerify"` // Path to the metrics endpoint on the exporter server, usually `/metrics` // (the default). MetricPath string `yaml:"metricPath" default:"/metrics"` }
Config for this monitor
Click to show internal directories.
Click to hide internal directories.