influx_cache

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CachingTransport

type CachingTransport struct {
	// contains filtered or unexported fields
}

func (*CachingTransport) RoundTrip

func (t *CachingTransport) RoundTrip(req *http.Request) (*http.Response, error)

type InfluxCache

type InfluxCache struct {
	Address         string
	InfluxDBAddress string `toml:"influx_db_address"`
	TLSCert         string `toml:"tls_cert"`
	TLSKey          string `toml:"tls_key"`
	CachePath       string
	QueryMatch      []QueryMatchEntry
	// contains filtered or unexported fields
}

func (*InfluxCache) Close

func (h *InfluxCache) Close() error

func (*InfluxCache) Connect

func (h *InfluxCache) Connect() error

func (*InfluxCache) Description

func (h *InfluxCache) Description() string

func (*InfluxCache) Gather

func (h *InfluxCache) Gather(_ telegraf.Accumulator) error

func (*InfluxCache) Run

func (h *InfluxCache) Run(msgbus *pubsub.PubSub) error

func (*InfluxCache) SampleConfig

func (h *InfluxCache) SampleConfig() string

func (*InfluxCache) SetParser

func (h *InfluxCache) SetParser(p parsers.Parser)

func (*InfluxCache) Start

func (h *InfluxCache) Start(acc telegraf.Accumulator) error

func (*InfluxCache) Stop

func (h *InfluxCache) Stop()

type QueryMatchEntry

type QueryMatchEntry struct {
	QueryMatch string
	ClearEvery string
	// contains filtered or unexported fields
}

type TimeFunc

type TimeFunc func() time.Time

Jump to

Keyboard shortcuts

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