haproxy

package
v4.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 4, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL