Skip to content

Commit

Permalink
Merge pull request #571 from swisspost/feature/redismonitor_logs
Browse files Browse the repository at this point in the history
Do logfor non-number redis metrics
  • Loading branch information
mcweba authored Apr 19, 2024
2 parents d54a7d6 + d21c504 commit 71b1cea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ private void collectMetrics(Buffer buffer) {
publisher.publishMetric(key, value);
}
} catch (NumberFormatException e) {
// ignore this field
log.trace("ignore field '{}' because '{}' doesnt look number-ish enough", key, valueStr);
}
});
}
Expand Down

0 comments on commit 71b1cea

Please sign in to comment.