Class RdapMetrics

java.lang.Object
google.registry.rdap.RdapMetrics

public class RdapMetrics extends Object
RDAP Instrumentation.
  • Constructor Details

    • RdapMetrics

      @Inject public RdapMetrics()
  • Method Details

    • 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.