Skip to content

Commit

Permalink
prometheus: Fix typo in comment
Browse files Browse the repository at this point in the history
The sentinel value is meant to be used for unknown memory values, not
known values of course.

Signed-off-by: Michael Hanselmann <[email protected]>
  • Loading branch information
hansmi committed Jul 21, 2021
1 parent cd228d2 commit 620fbbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasmota/xsns_75_prometheus.ino
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ void WritePromMetricStr(const char *name, uint8_t flags, const char *value, ...)
va_end(labels);
}

// Sentinel value for known memory metrics, chosen to unlikely match actual
// Sentinel value for unknown memory metrics, chosen to unlikely match actual
// values.
const uint32_t kPromMemoryUnknown = 0xFFFFFFFF - 1;

Expand Down

0 comments on commit 620fbbb

Please sign in to comment.