Description
This code (line 42) creates a metric name even when metrics are not enabled, and thus the name is never used. Basically a minor footprint overhead that is not needed.
this.metricName = context.uniquify(shortMetricName); MetricRegistry registry = context.getService(MetricRegistry.class); if (registry != null) { registry.register(getMetricName(), getMetric()); }
This issue was moved from https://github.com/quarks-edge/quarks/issues/94 .