eredes

package
v0.0.0-...-8deb037 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EREDES

type EREDES struct {
	Headers map[string]string `toml:"headers"`

	SignInURL string `toml:"sign_in_url"`
	UsageURL  string `toml:"usage_url"`

	Username string `toml:"username"`
	Password string `toml:"password"`
	Cpe      string `toml:"cpe"`

	tls.ClientConfig

	SuccessStatusCodes []int `toml:"success_status_codes"`

	Timeout internal.Duration `toml:"timeout"`

	HistoryInterval internal.Duration `toml:"history_interval"`

	StartDate string `toml:"start_date"`

	RunTestsOnly bool `toml:"run_tests_only"`
	// contains filtered or unexported fields
}

EREDES struct

func (*EREDES) Description

func (*EREDES) Description() string

Description returns a one-sentence description on the Input

func (*EREDES) Gather

func (eredes *EREDES) Gather(acc telegraf.Accumulator) error

Gather takes in an accumulator and adds the metrics that the Input gathers. This is called every "interval"

func (*EREDES) Init

func (eredes *EREDES) Init() error

Init init method

func (*EREDES) SampleConfig

func (*EREDES) SampleConfig() string

SampleConfig returns the default configuration of the Input

func (*EREDES) SetParser

func (eredes *EREDES) SetParser(parser parsers.Parser)

SetParser takes the data_format from the config and finds the right parser for that format

Jump to

Keyboard shortcuts

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