statsd

package
v5.0.4-release+incompa... Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2019 License: LGPL-3.0 Imports: 9 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Exporter

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

Exporter receive statsd metric and export prometheus metric

func CreateExporter

func CreateExporter(sc option.StatsdConfig, register *prometheus.Registry) *Exporter

CreateExporter create a exporter

func (*Exporter) Collect

func (e *Exporter) Collect(ch chan<- prometheus.Metric)

Collect implements the prometheus.Collector interface.

func (*Exporter) Describe

func (e *Exporter) Describe(ch chan<- *prometheus.Desc)

Describe implements the prometheus.Collector interface.

func (*Exporter) GetRegister

func (e *Exporter) GetRegister() *prometheus.Registry

GetRegister GetRegister

func (*Exporter) ReloadConfig

func (e *Exporter) ReloadConfig() (err error)

ReloadConfig reload mapper config file

func (*Exporter) Start

func (e *Exporter) Start() error

Start Start

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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