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
}
Collector instance
func NewShellyCollector ¶
func NewShellyCollector(metricsFile *metric.MetricsFile) (*Collector, error)
NewShellyCollector initialization
func (*Collector) Collect ¶
func (collector *Collector) Collect(ch chan<- prometheus.Metric)
Collect for prometheus
func (*Collector) Describe ¶
func (collector *Collector) Describe(ch chan<- *prometheus.Desc)
Describe for prometheus
Click to show internal directories.
Click to hide internal directories.