prometheus

package
v1.19.9 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2024 License: MIT Imports: 5 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 {
	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