codahale/metrics — pull request #298 by twinforces (2012-11-07 20:40:07+00:00)
Title: Microscopic API change to make it easy to aggregate metrics across multiple hosts

MetricName.setDefaultScope lets you set the default scope for metrics.

Useful to do things like using the local hostname as the scope.

Sample:

Metricname.setDefaultScope("myappname");

Or:

Metricname.setDefaultScope(hostname+"."+myappname)