Skip to content

Commit

Permalink
Do not log warnings for non-number redis metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
mcweba committed Apr 19, 2024
1 parent d1513ce commit d21c504
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,7 @@ private void collectMetrics(Buffer buffer) {
publisher.publishMetric(key, value);
}
} catch (NumberFormatException e) {
if(log.isTraceEnabled()) {
log.trace("ignore field '{}' because '{}' doesnt look number-ish enough", key, valueStr);
}
log.trace("ignore field '{}' because '{}' doesnt look number-ish enough", key, valueStr);
}
});
}
Expand Down

0 comments on commit d21c504

Please sign in to comment.