Package google.registry.proxy.metric
Class BaseMetrics
java.lang.Object
google.registry.proxy.metric.BaseMetrics
- Direct Known Subclasses:
BackendMetrics
,FrontendMetrics
Base class for metrics.
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final com.google.monitoring.metrics.ExponentialFitter
protected static final com.google.monitoring.metrics.CustomFitter
protected static final com.google.common.collect.ImmutableSet
<com.google.monitoring.metrics.LabelDescriptor> Labels to register metrics with. -
Constructor Summary
-
Method Summary
-
Field Details
-
LABELS
protected static final com.google.common.collect.ImmutableSet<com.google.monitoring.metrics.LabelDescriptor> LABELSLabels to register metrics with.The client certificate hash value is only used for EPP metrics. For WHOIS metrics, it will always be
"none"
. In order to get the actual registrar name, one can use thenomulus
tool:nomulus -e production list_registrars -f clientCertificateHash | grep $HASH
-
DEFAULT_SIZE_FITTER
protected static final com.google.monitoring.metrics.CustomFitter DEFAULT_SIZE_FITTER -
DEFAULT_LATENCY_FITTER
protected static final com.google.monitoring.metrics.ExponentialFitter DEFAULT_LATENCY_FITTER
-
-
Constructor Details
-
BaseMetrics
public BaseMetrics()
-