Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HaproxyCollector ¶
type HaproxyCollector struct {
*collector.BaseCollector
}
func NewHaproxyCollector ¶
func NewHaproxyCollector() *HaproxyCollector
type HaproxyRule ¶
type HaproxyRule struct { Servers []string `label:"Servers" json:"servers,required" example:"http://myhaproxy.com:1936/haproxy?stats"` KeepFieldNames bool `` /* 145-byte string literal not displayed */ Username string `label:"Username" json:"username" description:"specify username"` Password string `label:"Password" json:"password" format:"password" description:"specify server password"` plugins.ClientConfig }
func (*HaproxyRule) TelegrafInput ¶
func (p *HaproxyRule) TelegrafInput() (telegraf.Input, error)
func (*HaproxyRule) Validate ¶
func (p *HaproxyRule) Validate() error
Click to show internal directories.
Click to hide internal directories.