Fix incorrect pluralization in reserved list metric name.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=150241148
This commit is contained in:
mountford 2017-03-15 14:20:44 -07:00 committed by Ben McIlwain
parent f28104ad03
commit e60c01c2f7
2 changed files with 11 additions and 11 deletions

View file

@ -38,7 +38,7 @@ class DomainLabelMetrics {
}
/**
* Labels attached to {@link #reservedListChecks} and {@link #reservedListProcessingTimes}
* Labels attached to {@link #reservedListChecks} and {@link #reservedListProcessingTime}
* metrics.
*
* <p>A domain name can be matched by multiple reserved lists. To keep the metrics useful by
@ -74,7 +74,7 @@ class DomainLabelMetrics {
/** Metric recording the amount of time required to check a label against all reserved lists. */
@VisibleForTesting
static final EventMetric reservedListProcessingTimes =
static final EventMetric reservedListProcessingTime =
MetricRegistryImpl.getDefault()
.newEventMetric(
"/domain_label/reserved/processing_time",
@ -121,7 +121,7 @@ class DomainLabelMetrics {
.toString();
reservedListChecks.increment(
tld, matchCount, mostSevereReservedList, mostSevereReservationType);
reservedListProcessingTimes.record(
reservedListProcessingTime.record(
elapsedMillis, tld, matchCount, mostSevereReservedList, mostSevereReservationType);
}
}