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
Directories ¶
Path | Synopsis |
---|---|
Package prometheus provides metrics primitives to instrument code for monitoring.
|
Package prometheus provides metrics primitives to instrument code for monitoring. |
promhttp
Package promhttp provides tooling around HTTP servers and clients.
|
Package promhttp provides tooling around HTTP servers and clients. |
Click to show internal directories.
Click to hide internal directories.