-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Core] Avoid metrics log noise when idle
Prior to this change, there was always a log message every 10 seconds, even when the system is idle. The noise when the metrics are all zeros doesn't seem very interesting, so this change makes it so the log message is only emitted while active. It will log a message whenever metrics are non-zero, or when returning to idle from non-idle. Repeated messages during idle now go to DEBUG instead of INFO. Signed-off-by: Russell Bryant <[email protected]>
- Loading branch information
Showing
1 changed file
with
23 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters