Wire in MetricReporter into the backend servlet to publish metrics

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=130468842
This commit is contained in:
shikhman
2016-08-22 14:07:45 -04:00
committed by Ben McIlwain
parent 4a34807b1d
commit b45c2ca2ee
11 changed files with 214 additions and 25 deletions
@@ -81,7 +81,6 @@ public final class MetricRegistryImpl implements MetricRegistry {
String description,
String valueDisplayName,
ImmutableSet<LabelDescriptor> labels) {
Counter metric = new Counter(name, description, valueDisplayName, labels);
registerMetric(name, metric);
logger.info("Registered new counter: " + name);