Uses of Class
io.grpc.services.CallMetricRecorder
Packages that use CallMetricRecorder
Package
Description
Service definitions and utilities for the pre-defined gRPC services.
-
Uses of CallMetricRecorder in io.grpc.services
Fields in io.grpc.services declared as CallMetricRecorderFields in io.grpc.services with type parameters of type CallMetricRecorderModifier and TypeFieldDescription(package private) static final Context.Key<CallMetricRecorder> CallMetricRecorder.CONTEXT_KEYstatic final Context.Key<CallMetricRecorder> InternalCallMetricRecorder.CONTEXT_KEYMethods in io.grpc.services that return CallMetricRecorderModifier and TypeMethodDescriptionprivate CallMetricRecorderCallMetricRecorder.disable()Turn this recorder into a no-op one.static CallMetricRecorderCallMetricRecorder.getCurrent()Returns the call metric recorder attached to the currentContext.static CallMetricRecorderInternalCallMetricRecorder.newCallMetricRecorder()CallMetricRecorder.recordApplicationUtilizationMetric(double value) Records a call metric measurement for application specific utilization in the range [0, inf).CallMetricRecorder.recordCallMetric(String name, double value) Deprecated.CallMetricRecorder.recordCpuUtilizationMetric(double value) Records a call metric measurement for CPU utilization in the range [0, inf).CallMetricRecorder.recordEpsMetric(double value) Records a call metric measurement for errors per second (eps) in the range [0, inf).CallMetricRecorder.recordMemoryUtilizationMetric(double value) Records a call metric measurement for memory utilization in the range [0, 1].CallMetricRecorder.recordNamedMetric(String name, double value) Records an application-specific opaque custom metric measurement.CallMetricRecorder.recordQpsMetric(double value) Records a call metric measurement for queries per second (qps) in the range [0, inf).CallMetricRecorder.recordRequestCostMetric(String name, double value) Records a call metric measurement for request cost.CallMetricRecorder.recordUtilizationMetric(String name, double value) Records a call metric measurement for utilization in the range [0, 1].Methods in io.grpc.services with parameters of type CallMetricRecorderModifier and TypeMethodDescriptionInternalCallMetricRecorder.finalizeAndDump(CallMetricRecorder recorder) static MetricReportInternalCallMetricRecorder.finalizeAndDump2(CallMetricRecorder recorder)
recordRequestCostMetric(java.lang.String, double)instead.