Class InternalCallMetricRecorder


  • @Internal
    public final class InternalCallMetricRecorder
    extends java.lang.Object
    Internal CallMetricRecorder accessor. This is intended for usage internal to the gRPC team. If you *really* think you need to use this, contact the gRPC team first.
    • Constructor Detail

      • InternalCallMetricRecorder

        private InternalCallMetricRecorder()
    • Method Detail

      • finalizeAndDump

        public static java.util.Map<java.lang.String,​java.lang.Double> finalizeAndDump​(CallMetricRecorder recorder)
      • createMetricReport

        public static MetricReport createMetricReport​(double cpuUtilization,
                                                      double applicationUtilization,
                                                      double memoryUtilization,
                                                      double qps,
                                                      double eps,
                                                      java.util.Map<java.lang.String,​java.lang.Double> requestCostMetrics,
                                                      java.util.Map<java.lang.String,​java.lang.Double> utilizationMetrics,
                                                      java.util.Map<java.lang.String,​java.lang.Double> namedMetrics)