Class RdapMetrics

  • public class RdapMetrics
    extends java.lang.Object
    RDAP Instrumentation.
    • Constructor Summary

      Constructor Description
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void updateMetrics​(google.registry.rdap.RdapMetrics.RdapMetricInformation rdapMetricInformation)
      Increments the RDAP metrics.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RdapMetrics

        public RdapMetrics()
    • Method Detail

      • updateMetrics

        public void updateMetrics​(google.registry.rdap.RdapMetrics.RdapMetricInformation rdapMetricInformation)
        Increments the RDAP metrics.

        This is intended to be called at the conclusion of a query, with the parameters specifying everything that happened. This method takes the data and updates metrics which offer several ways of looking at the data, since cardinality constraints prevent us from saving all the information in a single metric.