tengine

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 {
	Urls            []string `` /* 133-byte string literal not displayed */
	ResponseTimeout int      `label:"ResponseTimeout" json:"response_timeout" default:"5" description:"HTTP response timeout (default: 5s)"`
	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