prometheus: Fix typo in comment

The sentinel value is meant to be used for unknown memory values, not
known values of course.

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
This commit is contained in:
Michael Hanselmann 2021-07-21 21:10:18 +02:00
parent cd228d2f84
commit 620fbbb9c0

View File

@ -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;