-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check float metrics against gauges list (#6008)
Float metrics were not checked against the list of gauge values so the CPU and Load metrics were logged incorrectly. By default the difference between the current and last value are reported in the logs. But if a value is whitelisted as a gauge then it reports the raw value instead. Only the int values were being checked. Now the float64 values are checked too.
- Loading branch information
1 parent
aad0d40
commit 7f14858
Showing
2 changed files
with
13 additions
and
1 deletion.
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
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