Created
February 23, 2015 21:56
-
-
Save chbatey/079d88a1577736ef1a30 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
@Component | |
public class SpringConfiguringClass extends MetricsConfigurerAdapter { | |
@Inject | |
private Session session; | |
@Override | |
public MetricRegistry getMetricRegistry() { | |
return session.getCluster().getMetrics().getRegistry(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment