Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collector ¶
type Collector struct {
// contains filtered or unexported fields
}
func NewCollector ¶
NewCollector creates a new collector from the given config
func (*Collector) Collect ¶
func (c *Collector) Collect(metrics chan<- prometheus.Metric)
Collect collects all metrics for this collector and emits them down the provided channel Implements prometheus.Collector
func (*Collector) Describe ¶
func (c *Collector) Describe(descs chan<- *prometheus.Desc)
Describe emits all metric descriptions of the collector down the given channel Implements prometheus.Collector
Click to show internal directories.
Click to hide internal directories.