Class BaseMetrics

java.lang.Object
google.registry.proxy.metric.BaseMetrics
Direct Known Subclasses:
BackendMetrics, FrontendMetrics

public abstract class BaseMetrics extends Object
Base class for metrics.
  • Field Details

    • LABELS

      protected static final com.google.common.collect.ImmutableSet<com.google.monitoring.metrics.LabelDescriptor> LABELS
      Labels 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 the nomulus 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()