statsd

package
v0.0.0-...-396d2c0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2021 License: AGPL-3.0 Imports: 15 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 {
	Enable                 bool
	Port                   int
	DB                     string
	User                   string
	Password               string
	Worker                 int
	GatherInterval         time.Duration
	Protocol               string
	MaxTCPConnections      int
	TCPKeepAlive           bool
	AllowedPendingMessages int
	DeleteCounters         bool
	DeleteGauges           bool
	DeleteSets             bool
	DeleteTimings          bool
}

type MetricMaker

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

func (*MetricMaker) Log

func (m *MetricMaker) Log() telegraf.Logger

func (*MetricMaker) LogName

func (m *MetricMaker) LogName() string

func (*MetricMaker) MakeMetric

func (m *MetricMaker) MakeMetric(metric telegraf.Metric) telegraf.Metric

type Plugin

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

func (*Plugin) HandleMetrics

func (p *Plugin) HandleMetrics(serializer *influx.Serializer, metric telegraf.Metric)

func (*Plugin) Init

func (p *Plugin) Init(_ gin.IRouter) error

func (*Plugin) Start

func (p *Plugin) Start() error

func (*Plugin) Stop

func (p *Plugin) Stop() error

func (*Plugin) String

func (p *Plugin) String() string

func (*Plugin) Version

func (p *Plugin) Version() string

Jump to

Keyboard shortcuts

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