Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateStatisticsService ¶
func CreateStatisticsService() *echo.Echo
func Register ¶
func Register(collector prometheus.Collector)
Types ¶
type ControllerCollector ¶
type ControllerCollector struct {
// contains filtered or unexported fields
}
func NewControllerCollector ¶
func NewControllerCollector(controllers []controller.FanController) *ControllerCollector
func (*ControllerCollector) Collect ¶
func (collector *ControllerCollector) Collect(ch chan<- prometheus.Metric)
Collect implements required collect function for all prometheus collectors
func (*ControllerCollector) Describe ¶
func (collector *ControllerCollector) Describe(ch chan<- *prometheus.Desc)
type CurveCollector ¶
type CurveCollector struct {
// contains filtered or unexported fields
}
func NewCurveCollector ¶
func NewCurveCollector(curves []curves.SpeedCurve) *CurveCollector
func (*CurveCollector) Collect ¶
func (collector *CurveCollector) Collect(ch chan<- prometheus.Metric)
Collect implements required collect function for all prometheus collectors
func (*CurveCollector) Describe ¶
func (collector *CurveCollector) Describe(ch chan<- *prometheus.Desc)
type FanCollector ¶
type FanCollector struct {
// contains filtered or unexported fields
}
func NewFanCollector ¶
func NewFanCollector(fans []fans.Fan) *FanCollector
func (*FanCollector) Collect ¶
func (collector *FanCollector) Collect(ch chan<- prometheus.Metric)
Collect implements required collect function for all prometheus collectors
func (*FanCollector) Describe ¶
func (collector *FanCollector) Describe(ch chan<- *prometheus.Desc)
type SensorCollector ¶
type SensorCollector struct {
// contains filtered or unexported fields
}
func NewSensorCollector ¶
func NewSensorCollector(sensors []sensors.Sensor) *SensorCollector
func (*SensorCollector) Collect ¶
func (collector *SensorCollector) Collect(ch chan<- prometheus.Metric)
Collect implements required collect function for all prometheus collectors
func (*SensorCollector) Describe ¶
func (collector *SensorCollector) Describe(ch chan<- *prometheus.Desc)
Click to show internal directories.
Click to hide internal directories.