Skip to content

Commit

Permalink
Merge pull request #7481 from lomik/development
Browse files Browse the repository at this point in the history
Fix typo in gauge metric type (#7216)
  • Loading branch information
arendst authored Jan 11, 2020
2 parents 3b69fb9 + 20c58f5 commit 62904c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasmota/xsns_91_prometheus.ino
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ void HandleMetrics(void)
dtostrfd(Energy.current[0], Settings.flag2.current_resolution, parameter);
WSContentSend_P(PSTR("# TYPE current gauge\ncurrent %s\n"), parameter);
dtostrfd(Energy.active_power[0], Settings.flag2.wattage_resolution, parameter);
WSContentSend_P(PSTR("# TYPE active_power guage\nactive_power %s\n"), parameter);
WSContentSend_P(PSTR("# TYPE active_power gauge\nactive_power %s\n"), parameter);
dtostrfd(Energy.daily, Settings.flag2.energy_resolution, parameter);
WSContentSend_P(PSTR("# TYPE energy_daily gauge\nenergy_daily %s\n"), parameter);
dtostrfd(Energy.total, Settings.flag2.energy_resolution, parameter);
Expand Down

0 comments on commit 62904c5

Please sign in to comment.