telegraf

package
v0.0.0-...-54d14c8 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2018 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Config string `mapstructure:"config"`
}

Config - XXX

type Metric

type Metric struct {
	Plugin string `json:"plugin"`
	Gauge  string `json:"gauge"`
	Value  string `json:"value"`
}

Metric - XXX

func (Metric) String

func (m Metric) String() string

type ParsedLine

type ParsedLine struct {
	Elements []Metric
}

ParsedLine - XXX

type Telegraf

type Telegraf struct {
	Config Config
}

Telegraf - XXX

func (*Telegraf) Collect

func (t *Telegraf) Collect() (interface{}, error)

Collect - XXX

func (*Telegraf) Description

func (t *Telegraf) Description() string

Description - XXX

func (*Telegraf) ParseLine

func (t *Telegraf) ParseLine(s string) (ParsedLine, error)

ParseLine - XXX

func (*Telegraf) SampleConfig

func (t *Telegraf) SampleConfig() string

SampleConfig - XXX

func (*Telegraf) SetConfigDefaults

func (t *Telegraf) SetConfigDefaults() error

SetConfigDefaults - XXX

func (*Telegraf) Start

func (t *Telegraf) Start() error

Start - XXX

func (*Telegraf) Stop

func (t *Telegraf) Stop()

Stop - XXX

Jump to

Keyboard shortcuts

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