public static MetricRegistry getMetricRegistry() {
    if (_metricRegistry != null) {
      return _metricRegistry;
    } else {
      throw new NullPointerException(UNINITIALIZED_MESSAGE);
    }
  }
@return The <code>MetricRegistry</code> if initialized.
app/controllers/MetricsController.java