fix(influxdb2): Allow pos/neg engine cache values

Fixes #933
This commit is contained in:
Göran Sander
2024-10-23 07:31:43 +00:00
parent a904cd499e
commit f9d8ecb66f

View File

@@ -454,9 +454,9 @@ export async function postHealthMetricsToInfluxdb(serverName, host, body, server
new Point('cache')
.uintField('hits', body.cache.hits)
.uintField('lookups', body.cache.lookups)
.uintField('added', body.cache.added)
.uintField('replaced', body.cache.replaced)
.uintField('bytes_added', body.cache.bytes_added),
.intField('added', body.cache.added)
.intField('replaced', body.cache.replaced)
.intField('bytes_added', body.cache.bytes_added),
new Point('saturated').booleanField('saturated', body.saturated),
];