rainbond: github.com/goodrain/rainbond/node/statsd Index | Files | Directories

package statsd

import "github.com/goodrain/rainbond/node/statsd"

Index

Package Files

statsd_export.go

type Exporter Uses

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

Exporter receive statsd metric and export prometheus metric

func CreateExporter Uses

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

CreateExporter create a exporter

func (*Exporter) Collect Uses

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

Collect implements the prometheus.Collector interface.

func (*Exporter) Describe Uses

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

Describe implements the prometheus.Collector interface.

func (*Exporter) GetRegister Uses

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

GetRegister GetRegister

func (*Exporter) ReloadConfig Uses

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

ReloadConfig reload mapper config file

func (*Exporter) Start Uses

func (e *Exporter) Start() error

Start Start

Directories

PathSynopsis
exporter

Package statsd imports 9 packages (graph) and is imported by 2 packages. Updated 2019-08-23. Refresh now. Tools for package owners.