Class BackendMetrics


  • @Singleton
    public class BackendMetrics
    extends BaseMetrics
    Backend metrics instrumentation.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void requestSent​(java.lang.String protocol, java.lang.String certHash, int bytes)  
      void responseReceived​(java.lang.String protocol, java.lang.String certHash, io.netty.handler.codec.http.FullHttpResponse response, org.joda.time.Duration latency)  
      • Methods inherited from class java.lang.Object

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

      • requestSent

        @NonFinalForTesting
        public void requestSent​(java.lang.String protocol,
                                java.lang.String certHash,
                                int bytes)
      • responseReceived

        @NonFinalForTesting
        public void responseReceived​(java.lang.String protocol,
                                     java.lang.String certHash,
                                     io.netty.handler.codec.http.FullHttpResponse response,
                                     org.joda.time.Duration latency)