forked from dialtone/metrics-exporter-dogstatsd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
0 is a valid value for a gauge or a counter (e.g. "number of active sessions" can easily be zero and that state is distinct from is distinct 1) and zero samples in a period is legit for a histogram over an interval. For gauges we should also not reset to zero on each render, but we should continue to do so for counters. Suppression of idle metrics should be done using `StatsdBuilder::idle_timeout`. Fixes dialtone#5
- Loading branch information
Showing
2 changed files
with
9 additions
and
18 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