Documentation ¶
Index ¶
- type Checker
- type Compares
- type Contains
- type Health
- func (h *Health) Close() error
- func (h *Health) Connect() error
- func (h *Health) Description() string
- func (h *Health) Init() error
- func (h *Health) Origin() string
- func (h *Health) SampleConfig() string
- func (h *Health) ServeHTTP(rw http.ResponseWriter, _ *http.Request)
- func (h *Health) Write(metrics []telegraf.Metric) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Compares ¶
type Health ¶
type Health struct { ServiceAddress string `toml:"service_address"` ReadTimeout config.Duration `toml:"read_timeout"` WriteTimeout config.Duration `toml:"write_timeout"` BasicUsername string `toml:"basic_username"` BasicPassword string `toml:"basic_password"` tlsint.ServerConfig Compares []*Compares `toml:"compares"` Contains []*Contains `toml:"contains"` Log telegraf.Logger `toml:"-"` // contains filtered or unexported fields }
func (*Health) Description ¶
func (*Health) SampleConfig ¶
Click to show internal directories.
Click to hide internal directories.