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 combines the metric collector and descritions.
func NewExporter ¶
NewExporter gives you a new exporter instance.
func (*Exporter) Collect ¶
func (e *Exporter) Collect(ch chan<- prometheus.Metric)
Collect delivers the metrics to Prometheus.
func (*Exporter) Describe ¶
func (e *Exporter) Describe(ch chan<- *prometheus.Desc)
Describe defines the metric descriptions for Prometheus.
Click to show internal directories.
Click to hide internal directories.