Class StatsRecorderWrapper


  • @InternalApi("For internal use only")
    public class StatsRecorderWrapper
    extends Object
    A wrapper to record built-in metrics
    • Constructor Detail

      • StatsRecorderWrapper

        public StatsRecorderWrapper​(com.google.api.gax.tracing.ApiTracerFactory.OperationType operationType,
                                    com.google.api.gax.tracing.SpanName spanName,
                                    Map<String,​String> statsAttributes,
                                    io.opencensus.stats.StatsRecorder statsRecorder)
    • Method Detail

      • putOperationLatencies

        public void putOperationLatencies​(long operationLatency)
      • putAttemptLatencies

        public void putAttemptLatencies​(long attemptLatency)
      • putRetryCount

        public void putRetryCount​(int attemptCount)
      • putApplicationLatencies

        public void putApplicationLatencies​(long applicationLatency)
      • putFirstResponseLatencies

        public void putFirstResponseLatencies​(long firstResponseLatency)
      • putGfeLatencies

        public void putGfeLatencies​(long serverLatency)
      • putGfeMissingHeaders

        public void putGfeMissingHeaders​(long connectivityErrors)
      • putClientBlockingLatencies

        public void putClientBlockingLatencies​(long clientBlockingLatency)