Go to the documentation of this file.
23 #include "opencensus/stats/stats.h"
29 using ::opencensus::stats::MeasureDouble;
30 using ::opencensus::stats::MeasureInt64;
39 constexpr
char kUnitBytes[] =
"By";
40 constexpr
char kUnitMilliseconds[] =
"ms";
41 constexpr
char kCount[] =
"1";
47 static const auto measure = MeasureDouble::Register(
49 "Total bytes sent across all request messages per RPC", kUnitBytes);
54 static const auto measure = MeasureDouble::Register(
56 "Total bytes received across all response messages per RPC", kUnitBytes);
61 static const auto measure = MeasureDouble::Register(
63 "Time between first byte of request sent to last byte of response "
64 "received, or terminal error",
70 static const auto measure = MeasureDouble::Register(
72 "Time between first byte of request received to last byte of response "
73 "sent, or terminal error (propagated from the server)",
79 static const auto measure =
81 "Number of messages sent per RPC", kCount);
86 static const auto measure =
88 "Number of messages received per RPC", kCount);
94 static const auto measure =
96 "Number of retry or hedging attempts excluding "
97 "transparent retries made during the client call",
103 static const auto measure = MeasureInt64::Register(
105 "Number of transparent retries made during the client call", kCount);
110 static const auto measure =
112 "Total time of delay while there is no active "
113 "attempt during the client call",
120 static const auto measure = MeasureDouble::Register(
122 "Total bytes sent across all messages per RPC", kUnitBytes);
127 static const auto measure = MeasureDouble::Register(
129 "Total bytes received across all messages per RPC", kUnitBytes);
134 static const auto measure = MeasureDouble::Register(
136 "Time between first byte of request received to last byte of response "
137 "sent, or terminal error",
143 static const auto measure =
145 "Number of messages sent per RPC", kCount);
150 static const auto measure =
152 "Number of messages received per RPC", kCount);
MeasureDouble RpcServerServerLatency()
const ABSL_CONST_INIT absl::string_view kRpcServerSentMessagesPerRpcMeasureName
const ABSL_CONST_INIT absl::string_view kRpcServerSentBytesPerRpcMeasureName
const ABSL_CONST_INIT absl::string_view kRpcClientServerLatencyMeasureName
MeasureInt64 RpcClientRetriesPerCall()
MeasureDouble RpcClientReceivedBytesPerRpc()
const ABSL_CONST_INIT absl::string_view kRpcClientTransparentRetriesPerCallMeasureName
const ABSL_CONST_INIT absl::string_view kRpcClientSentMessagesPerRpcMeasureName
MeasureDouble RpcClientRetryDelayPerCall()
MeasureInt64 RpcClientReceivedMessagesPerRpc()
MeasureInt64 RpcServerSentMessagesPerRpc()
MeasureDouble RpcClientRoundtripLatency()
MeasureDouble RpcClientServerLatency()
const ABSL_CONST_INIT absl::string_view kRpcClientRetriesPerCallMeasureName
const ABSL_CONST_INIT absl::string_view kRpcClientReceivedBytesPerRpcMeasureName
MeasureDouble RpcClientSentBytesPerRpc()
const ABSL_CONST_INIT absl::string_view kRpcClientRetryDelayPerCallMeasureName
const ABSL_CONST_INIT absl::string_view kRpcServerServerLatencyMeasureName
MeasureInt64 RpcClientSentMessagesPerRpc()
const ABSL_CONST_INIT absl::string_view kRpcClientRoundtripLatencyMeasureName
MeasureDouble RpcServerReceivedBytesPerRpc()
MeasureInt64 RpcClientTransparentRetriesPerCall()
const ABSL_CONST_INIT absl::string_view kRpcClientSentBytesPerRpcMeasureName
MeasureDouble RpcServerSentBytesPerRpc()
MeasureInt64 RpcServerReceivedMessagesPerRpc()
const ABSL_CONST_INIT absl::string_view kRpcServerReceivedBytesPerRpcMeasureName
const ABSL_CONST_INIT absl::string_view kRpcClientReceivedMessagesPerRpcMeasureName
const ABSL_CONST_INIT absl::string_view kRpcServerReceivedMessagesPerRpcMeasureName
grpc
Author(s):
autogenerated on Fri May 16 2025 02:59:23