Go to the documentation of this file.
19 #ifndef GRPCPP_EXT_CALL_METRIC_RECORDER_H
20 #define GRPCPP_EXT_CALL_METRIC_RECORDER_H
25 #include "absl/strings/string_view.h"
26 #include "absl/types/optional.h"
32 namespace experimental {
106 #endif // GRPCPP_EXT_CALL_METRIC_RECORDER_H
This class is a non owning reference to a string.
Definition: string_ref.h:41
An Alarm posts the user-provided tag to its associated completion queue or invokes the user-provided ...
Definition: alarm.h:33
virtual CallMetricRecorder & RecordEpsMetric(double value)=0
Records a call metric measurement for errors per second.
virtual CallMetricRecorder & RecordCpuUtilizationMetric(double value)=0
Records a call metric measurement for CPU utilization.
virtual CallMetricRecorder & RecordQpsMetric(double value)=0
Records a call metric measurement for queries per second.
virtual CallMetricRecorder & RecordNamedMetric(string_ref name, double value)=0
Records an application-specific opaque metric measurement.
virtual ~CallMetricRecorder()=default
Records call metrics for the purpose of load balancing.
Definition: call_metric_recorder.h:37
virtual CallMetricRecorder & RecordMemoryUtilizationMetric(double value)=0
Records a call metric measurement for memory utilization.
virtual CallMetricRecorder & RecordUtilizationMetric(string_ref name, double value)=0
Records a call metric measurement for utilization.
virtual CallMetricRecorder & RecordRequestCostMetric(string_ref name, double value)=0
Records a call metric measurement for request cost.
virtual CallMetricRecorder & RecordApplicationUtilizationMetric(double value)=0
Records a call metric measurement for application specific utilization.