Skip to content

Add sonoff s31 docs for prom units mismatch#1283

Merged
Jason2866 merged 1 commit intotasmota:masterfrom
subtlepseudonym:sonoff-s31-prometheus-units
Sep 24, 2023
Merged

Add sonoff s31 docs for prom units mismatch#1283
Jason2866 merged 1 commit intotasmota:masterfrom
subtlepseudonym:sonoff-s31-prometheus-units

Conversation

@subtlepseudonym
Copy link
Copy Markdown
Contributor

Summary

As mentioned in this issue, on the Sonoff S31, the prometheus metrics energy_power_kilowatts_daily and energy_power_kilowatts_total report values whose units are kilowatt hours rather than kilowatts, as implied by the naming convention.

This change adds an update to the Sonoff S31 device documentation to point this out.

Notes

Ideally, we'd update the metric names, but those metrics are shared across quite a few devices so implementing the name change would be quite a bit of effort for a pedantic fix. In the mean time, folks running into this issue can work around it with metric relabeling.

@Jason2866
Copy link
Copy Markdown
Contributor

Thx!

@Jason2866 Jason2866 merged commit c458313 into tasmota:master Sep 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants