sqlquery

package
v0.0.0-...-12ddfe4 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Query

type Query struct {
	Name  string
	Query string
	// contains filtered or unexported fields
}

func (*Query) Get

func (q *Query) Get(conn *sql.DB, pwg *sync.WaitGroup) ([]telegraf.Metric, error)

type Sqlquery

type Sqlquery struct {
	ConnectionUrl string
	Query         []Query
	// contains filtered or unexported fields
}

func (*Sqlquery) Configure

func (m *Sqlquery) Configure() error

func (*Sqlquery) Description

func (m *Sqlquery) Description() string

func (*Sqlquery) Gather

func (m *Sqlquery) Gather(acc telegraf.Accumulator) error

func (*Sqlquery) SampleConfig

func (m *Sqlquery) SampleConfig() string

Jump to

Keyboard shortcuts

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