@PostConstruct
public void initMetrics() {
if (env.acceptsProfiles(Constants.SPRING_PROFILE_METRICS)) {
log.debug("Initializing Metrics healthchecks");
HealthChecks.register(new CassandraHealthCheck(keyspaceOperator));
HealthChecks.register(new JavaMailHealthCheck(mailService));
String graphiteHost = env.getProperty("tatami.metrics.graphite.host");
if (graphiteHost != null) {
log.debug("Initializing Metrics Graphite reporting");