elasticsearch

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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collector

type Collector struct {
	*collector.BaseCollector
}

func NewCollector

func NewCollector() *Collector

type Rule

type Rule struct {
	Servers                    []string `` /* 280-byte string literal not displayed */
	Local                      bool     `` /* 236-byte string literal not displayed */
	HTTPTimeout                int      `label:"HTTP timeout" json:"http_timeout" default:"5" description:"Timeout for HTTP requests"`
	ClusterHealth              bool     `` /* 154-byte string literal not displayed */
	ClusterHealthLevel         string   `` /* 237-byte string literal not displayed */
	ClusterStats               bool     `` /* 145-byte string literal not displayed */
	ClusterStatsOnlyFromMaster bool     `` /* 192-byte string literal not displayed */
	IndicesInclude             []string `` /* 150-byte string literal not displayed */
	NodeStats                  []string `` /* 288-byte string literal not displayed */
	plugins.ClientConfig
}

func (*Rule) TelegrafInput

func (p *Rule) TelegrafInput() (telegraf.Input, error)

func (*Rule) Validate

func (p *Rule) Validate() error

Jump to

Keyboard shortcuts

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