Documentation ¶
Index ¶
Constants ¶
View Source
const (
Namespace = "tasmota"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collector ¶
type Collector struct { Device *prometheus.CounterVec PowerUsageTotal *prometheus.GaugeVec PowerUsageToday *prometheus.GaugeVec PowerUsageYesterday *prometheus.GaugeVec PowerUsageCurrent *prometheus.GaugeVec }
func (*Collector) Collect ¶
func (c *Collector) Collect(metrics chan<- prometheus.Metric)
func (*Collector) Describe ¶
func (c *Collector) Describe(descs chan<- *prometheus.Desc)
func (*Collector) SetPowerUsage ¶
Click to show internal directories.
Click to hide internal directories.