Documentation ¶
Index ¶
- type Exporter
- type ExporterConfig
- type Metrics
- func (m *Metrics) CountEnvHeatDemandSeconds(id int64, name string, value bool)
- func (m *Metrics) Run(ctx context.Context)
- func (m *Metrics) SetDeviceWeatherTemp(id int64, name string, city string, value float64)
- func (m *Metrics) SetEnvironmentHeatDemand(id int64, name string, value bool)
- func (m *Metrics) SetEnvironmentTempCurrent(id int64, name string, value float64)
- func (m *Metrics) SetEnvironmentTempTarget(id int64, name string, value float64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Exporter ¶
type Exporter struct {
// contains filtered or unexported fields
}
func NewExporter ¶
type ExporterConfig ¶
func NewExporterConfig ¶
func NewExporterConfig(pullInterval time.Duration) ExporterConfig
func (ExporterConfig) Validate ¶
func (e ExporterConfig) Validate() error
type Metrics ¶
type Metrics struct {
// contains filtered or unexported fields
}
func NewMetrics ¶
func (*Metrics) CountEnvHeatDemandSeconds ¶ added in v0.3.0
func (*Metrics) SetDeviceWeatherTemp ¶
func (*Metrics) SetEnvironmentHeatDemand ¶
func (*Metrics) SetEnvironmentTempCurrent ¶
Click to show internal directories.
Click to hide internal directories.