You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A clear and concise description of what the problem is.
The prometheus metrics energy_power_kilowatts_daily and energy_power_kilowatts_total report the number of kilowatt hours on the Sonoff S31 rather than kilowatts, as implied by the metric name.
REQUESTED INFORMATION
Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!
If using rules, provide the output of this command: Backlog Rule1; Rule2; Rule3:
Rulesoutputhere:
Provide the output of this command: Status 0:
Set weblog to 4 and then, when you experience your issue, provide the output of the Console log:
Consoleoutputhere:
TO REPRODUCE
Steps to reproduce the behavior:
Enable prometheus metrics during compilation and visit the /metrics endpoint.
EXPECTED BEHAVIOUR
A clear and concise description of what you expected to happen.
The metric names should match the units of the reported values. These metrics, on the S31, should be named energy_power_kilowatt_hours_daily and energy_power_kilowatt_hours_total.
I haven't looked into any other power monitoring devices that report these metrics. Assuming that other devices are reporting kilowatts rather than kilowatt hours, the best approach is likely to add two new metrics with the proposed names.
SCREENSHOTS
If applicable, add screenshots to help explain your problem.
ADDITIONAL CONTEXT
Add any other context about the problem here.
(Please, remember to close the issue when the problem has been addressed)
The text was updated successfully, but these errors were encountered:
This issue can be fixed on the prometheus side with metric relabeling, so this issue is a relatively high effort change for low reward, but I figured it was worth documenting.
PROBLEM DESCRIPTION
A clear and concise description of what the problem is.
The prometheus metrics
energy_power_kilowatts_daily
andenergy_power_kilowatts_total
report the number of kilowatt hours on the Sonoff S31 rather than kilowatts, as implied by the metric name.REQUESTED INFORMATION
Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!
Backlog Template; Module; GPIO 255
:Backlog Rule1; Rule2; Rule3
:Status 0
:weblog
to 4 and then, when you experience your issue, provide the output of the Console log:TO REPRODUCE
Steps to reproduce the behavior:
Enable prometheus metrics during compilation and visit the /metrics endpoint.
EXPECTED BEHAVIOUR
A clear and concise description of what you expected to happen.
The metric names should match the units of the reported values. These metrics, on the S31, should be named
energy_power_kilowatt_hours_daily
andenergy_power_kilowatt_hours_total
.I haven't looked into any other power monitoring devices that report these metrics. Assuming that other devices are reporting kilowatts rather than kilowatt hours, the best approach is likely to add two new metrics with the proposed names.
SCREENSHOTS
If applicable, add screenshots to help explain your problem.
ADDITIONAL CONTEXT
Add any other context about the problem here.
(Please, remember to close the issue when the problem has been addressed)
The text was updated successfully, but these errors were encountered: