Skip to content

Commit

Permalink
fix(influxdb2): Allow pos/neg engine cache values
Browse files Browse the repository at this point in the history
Fixes #933
  • Loading branch information
Göran Sander committed Oct 23, 2024
1 parent a904cd4 commit f9d8ecb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib/post-to-influxdb.js
Original file line number Diff line number Diff line change
Expand Up @@ -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),
];
Expand Down

0 comments on commit f9d8ecb

Please sign in to comment.