This repository has been archived by the owner on Sep 12, 2023. It is now read-only.
forked from prometheus/statsd_exporter
-
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.
Resolves prometheus#77 add cmdline flag to drop unmapped
* Adds `-statsd.drop-unmapped` cmdline flag which causes statsd metrics that don't match a mapping to be dropped. New flag defaults to "false" Add test for dropUnmapped behavior Convert dropUnmapped to a attribute of the Exporter * Removed references to dropUnmapped global var in favor of a boolean attribute of `Exporter` * Updated tests to reflect refactor * Reordered command line options per PR review
- Loading branch information
Showing
3 changed files
with
58 additions
and
14 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