-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[activemq58] Proper prefix on service check
I hacked the StatsDReporter to send the status of activemq.can_connect instead of activemq_58.can_connect. It's a bit better than a simple Hack. We decided that the prefix name shouldn't contain any number, underscore or capital letter (should we add the dash to this list ?). This way we can have version dependant configuration in the .yaml config files for JMXFetch without having multiple and dirty metrics and service check names in the HQ. UNIT TEST SUITE UPDATE ---------------------- Added a simple unit test to the prefix formatter, when adding versionned integration like activemq_58, it would be good to check that its prefix is correctly formatted here.
- Loading branch information
Etienne LAFARGE
committed
May 13, 2015
1 parent
56d092f
commit 23f1ec9
Showing
5 changed files
with
38 additions
and
4 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
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