@Test public void can_get_metrics_registry() { Metrics metrics = new Metrics(); assertNotNull(metrics.getRegistry()); assert(metrics.getRegistry() instanceof MetricRegistry); }
public MetricRegistry getRegistry() { return this.registry; }
Metrics { public MetricRegistry getRegistry() { return this.registry; } }
Metrics { public MetricRegistry getRegistry() { return this.registry; } Metrics();  Metrics(final MetricRegistry registry); }
Metrics { public MetricRegistry getRegistry() { return this.registry; } Metrics();  Metrics(final MetricRegistry registry); MetricRegistry getRegistry(); @SuppressWarnings("checkstyle:designforextension") void createAndStartStatsDReporter(
            final MetricRegistry registry,
            final String host,
            final int port,
            final String prefix,
            final int reportingTime); }
Metrics { public MetricRegistry getRegistry() { return this.registry; } Metrics();  Metrics(final MetricRegistry registry); MetricRegistry getRegistry(); @SuppressWarnings("checkstyle:designforextension") void createAndStartStatsDReporter(
            final MetricRegistry registry,
            final String host,
            final int port,
            final String prefix,
            final int reportingTime); public Meter httpConnectionAttempt; public Meter httpConnectionSucceeded; public Meter httpConnectionFailed; public Meter httpConnectionClosed; public Meter sendAttempt; public Meter sendSuccess; public Meter sentItems; public Meter sendError; public Meter sendRateLimit; public Meter sendException; public Meter sendLinearBackoff; public Meter sendExponentialBackoff; public Meter readKafkaItem; public Meter passedOnKafkaItem; public Meter readKafkaItemFromConsumer; public Meter readKafkaItemsFromConsumer; public Meter sendHeartbeatAttempt; public Meter sendHeartbeatSuccess; public Meter sendHeartbeatFailure; public Meter interruptedService; public Meter interruptedHTTPSending; public Meter interruptedShutdown; public Meter shutdown; public Timer bulkPostTime; }