1
0
mirror of https://github.com/google/nomulus synced 2026-02-05 04:21:07 +00:00

Add label for the DnsWriter in the publishDnsUpdates metrics

This allows grouping metrics based on the DnsWriter. We can already group by
the TLD, but since a TLD can have multiple writers, and since different writers
perform very differently from one another, it could be important to group by
writer as well.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=182255398
This commit is contained in:
guyben
2018-01-17 12:49:16 -08:00
committed by Ben McIlwain
parent 1c8451fea1
commit bf321ca044
3 changed files with 18 additions and 15 deletions

View File

@@ -162,6 +162,7 @@ public final class PublishDnsUpdatesAction implements Runnable, Callable<Void> {
} finally {
Duration duration = new Duration(timeAtStart, clock.nowUtc());
dnsMetrics.recordCommit(
dnsWriter,
commitStatus,
duration,
domainsPublished,