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"` Name string `yaml:"name"` // 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.