influx

package
v1.16.9 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Host   string `json:"host" yaml:"host"`
	Token  string `json:"token" yaml:"token"`
	Org    string `json:"org" yaml:"org"`
	Bucket string `json:"bucket" yaml:"bucket"`

	GroupName  string `json:"group_name" yaml:"group_name"`
	PipelineId int    `json:"pipeline_id" yaml:"pipeline_id"`
}

func NewConfig

func NewConfig(node *yaml.Node) (conf Config, err error)

type Plugin

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

func NewPlugin

func NewPlugin(config Config) (*Plugin, error)

func (*Plugin) IncrementProcessorDroppedMessages

func (p *Plugin) IncrementProcessorDroppedMessages(proc string)

func (*Plugin) IncrementProcessorReceivedMessages

func (p *Plugin) IncrementProcessorReceivedMessages(proc string)

func (*Plugin) IncrementProcessorSentMessages

func (p *Plugin) IncrementProcessorSentMessages(proc string)

func (*Plugin) IncrementReceivedCounter

func (p *Plugin) IncrementReceivedCounter()

func (*Plugin) IncrementSentCounter

func (p *Plugin) IncrementSentCounter()

func (*Plugin) IncrementSinkErrCounter

func (p *Plugin) IncrementSinkErrCounter()

func (*Plugin) IncrementSourceErrCounter

func (p *Plugin) IncrementSourceErrCounter()

func (*Plugin) RegisterProcessors

func (p *Plugin) RegisterProcessors(processors []string)

func (*Plugin) SetProcessorExecutionTime

func (p *Plugin) SetProcessorExecutionTime(proc string, time int64)

Jump to

Keyboard shortcuts

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