mirror of
https://github.com/google/nomulus.git
synced 2025-05-14 16:37:13 +02:00
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:
parent
f28104ad03
commit
e60c01c2f7
2 changed files with 11 additions and 11 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue