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 ¶
ReloadConfig reload mapper config file
Click to show internal directories.
Click to hide internal directories.