GitHub user snoopdave opened a pull request: https://github.com/apache/incubator-usergrid/pull/238
Add metrics reporting to Usergrid SSO endpoint /externaltokens Adds metrics for: - Count number of validated Admin Tokens - Count number of rejected Admin Tokens - Count number of new local Admin Users created - Time processing time of /externaltokens method Tested locally with Graphite. You can merge this pull request into a Git repository by running: $ git pull https://github.com/apache/incubator-usergrid USERGRID-576-ssometrics Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-usergrid/pull/238.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #238 ---- commit 4e42353c334665798978d8142fb0b4813e72901b Author: Dave Johnson <dmjohn...@apigee.com> Date: 2015-04-21T20:31:50Z First cut of metrics for SSO. commit 77819b343dc18f74068d29a3613753549dbb2ab4 Author: Dave Johnson <dmjohn...@apigee.com> Date: 2015-04-22T19:12:18Z Remove redundant timer.close() calls. Also, change behavior of GraphiteReporter: during tests, it uses a higher frequency for polling. commit e7a543b4bbd22bc2a8b440359270adf1e83efb1f Author: Dave Johnson <dmjohn...@apigee.com> Date: 2015-04-22T19:19:05Z Merge branch 'master' into USERGRID-576-ssometrics Conflicts: stack/rest/src/main/java/org/apache/usergrid/rest/management/ManagementResource.java ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---