-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add metrics for number of inodes (#781)
* Make metrics gauges remember if they've changed This is a small change to their behavior: they'll now emit if they're changed to zero, whereas before they would not. But I think that's the behavior we want anyway. Signed-off-by: James Bornholt <bornholt@amazon.com> * Convert absolute counters to gauges We were abusing absolute counters to get the "only emit when changed" behavior, which gauges now provide too. Signed-off-by: James Bornholt <bornholt@amazon.com> * Add metrics for number of inodes We track the total number of inodes as well as tracking them by kind. Signed-off-by: James Bornholt <bornholt@amazon.com> --------- Signed-off-by: James Bornholt <bornholt@amazon.com>
- Loading branch information
1 parent
926524c
commit 6d7c194
Showing
4 changed files
with
75 additions
and
38 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
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
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