Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
Types ¶
type Collector ¶
type Collector struct {
// contains filtered or unexported fields
}
func (*Collector) Collect ¶
func (collector *Collector) Collect(ch chan<- prometheus.Metric)
func (*Collector) Describe ¶
func (collector *Collector) Describe(ch chan<- *prometheus.Desc)
type Config ¶
type Config struct { Logger micrologger.Logger IFace string }
Config provides the necessary configuration for creating a Collector.
Click to show internal directories.
Click to hide internal directories.