1
0
mirror of https://github.com/google/nomulus synced 2026-01-03 11:45:39 +00:00

Reduce cardinality of reserved list processing time metric (#2542)

This single metric currently accounts for 22.2% of our total metrics bill,
almost double the size of our EPP requests metric, while also simultaneously
being much less useful. This change reduces the cardinality by removing two
parameters we don't care that much about, which should significantly reduce the
size and thus the cost. If after this change the metric is still too large, I'll
also then remove the matchCount parameter from this metric. We could possibly
even consider deleting the metric in its entirety, as we hardly ever use it.

This PR also removes unused code for premium list metrics that have never
actually been written out (and that we won't bother with at this point).
This commit is contained in:
Ben McIlwain
2024-09-05 15:41:20 -04:00
committed by GitHub
parent 7ed7cf3340
commit 5f23f2a15a
3 changed files with 19 additions and 52 deletions

View File

@@ -20,7 +20,7 @@ metrics monitored are as follows:
name, client id, and return status code.
* `/custom/epp/processing_time` -- A [Distribution][distribution] representing
the processing time for EPP requests, described by command name, client id,
and retujrn status code.
and return status code.
* `/custom/whois/requests` -- A count of WHOIS requests, described by command
name, number of returned results, and return status code.
* `/custom/whois/processing_time` -- A [Distribution][distribution]