Class RpcViewConstants
java.lang.Object
io.opencensus.contrib.grpc.metrics.RpcViewConstants
Constants for exporting views on rpc stats.
- Since:
- 0.8
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final Aggregation
(package private) static final Aggregation
(package private) static final Aggregation
(package private) static final Aggregation
(package private) static final Aggregation
(package private) static final Aggregation
(package private) static final View.AggregationWindow
static final View
View
for completed client RPCs.static final View
View
for client received bytes per method.static final View
View
for client received bytes per RPC.static final View
View
for client received messages.static final View
View
for client received messages per RPC.static final View
View
for client retries per call.static final View
View
for total retries across all calls, excluding transparent retries.static final View
View
for total time of delay while there is no active attempt during the client call.static final View
View
for client roundtrip latency in milliseconds.static final View
View
for client sent bytes per method.static final View
View
for client sent bytes per RPC.static final View
View
for client sent messages.static final View
View
for client sent messages per RPC.static final View
View
for client server latency in milliseconds.static final View
View
for started client RPCs.static final View
View
for transparent retries per call.static final View
View
for total transparent client retries across calls.static final View
View
for completed server RPCs.static final View
View
for total server received bytes per method.static final View
View
for server received bytes per RPC.static final View
View
for server received messages.static final View
View
for server received messages per RPC.static final View
View
for total server sent bytes per method.static final View
View
for server sent bytes per RPC.static final View
View
for server sent messages.static final View
View
for server sent messages per RPC.static final View
View
for server server latency in milliseconds.static final View
View
for started server RPCs.(package private) static final Duration
(package private) static final View.AggregationWindow
(package private) static final View.AggregationWindow
(package private) static final Aggregation
(package private) static final Duration
static final View
HourView
for client RPC errors.static final View
MinuteView
for client RPC errors.static final View
Deprecated.since error count measure is deprecated.static final View
Deprecated.in favor ofGRPC_CLIENT_COMPLETED_RPC_VIEW
.static final View
HourView
for finished client RPCs.static final View
MinuteView
for finished client RPCs.static final View
HourView
for client request bytes.static final View
MinuteView
for client request bytes.static final View
Deprecated.in favor ofGRPC_CLIENT_SENT_BYTES_PER_RPC_VIEW
.static final View
HourView
for client request messages.static final View
MinuteView
for client request messages.static final View
Deprecated.in favor ofGRPC_CLIENT_SENT_MESSAGES_PER_RPC_VIEW
.static final View
HourView
for client response bytes.static final View
MinuteView
for client response bytes.static final View
Deprecated.in favor ofGRPC_CLIENT_RECEIVED_BYTES_PER_RPC_VIEW
.static final View
HourView
for client response messages.static final View
MinuteView
for client response messages.static final View
Deprecated.in favor ofGRPC_CLIENT_RECEIVED_MESSAGES_PER_RPC_VIEW
.static final View
HourView
for client roundtrip latency in milliseconds.static final View
MinuteView
for client roundtrip latency in milliseconds.static final View
Deprecated.in favor ofGRPC_CLIENT_ROUNDTRIP_LATENCY_VIEW
.static final View
HourView
for client server elapsed time in milliseconds.static final View
MinuteView
for client server elapsed time in milliseconds.static final View
Deprecated.in favor ofGRPC_CLIENT_SERVER_LATENCY_VIEW
.static final View
Deprecated.in favor ofGRPC_CLIENT_STARTED_RPC_VIEW
.static final View
HourView
for started client RPCs.static final View
MinuteView
for started client RPCs.static final View
HourView
for client uncompressed request bytes.static final View
MinuteView
for client uncompressed request bytes.static final View
Deprecated.in favor ofGRPC_CLIENT_SENT_BYTES_PER_RPC_VIEW
.static final View
HourView
for client uncompressed response bytes.static final View
MinuteView
for client uncompressed response bytes.static final View
Deprecated.in favor ofGRPC_CLIENT_RECEIVED_BYTES_PER_RPC_VIEW
.static final View
HourView
for server RPC errors.static final View
MinuteView
for server RPC errors.static final View
Deprecated.since error count measure is deprecated.static final View
Deprecated.in favor ofGRPC_SERVER_COMPLETED_RPC_VIEW
.static final View
HourView
for finished server RPCs.static final View
MinuteView
for finished server RPCs.static final View
HourView
for server request bytes.static final View
MinuteView
for server request bytes.static final View
Deprecated.in favor ofGRPC_SERVER_RECEIVED_BYTES_PER_RPC_VIEW
.static final View
HourView
for server request messages.static final View
MinuteView
for server request messages.static final View
Deprecated.in favor ofGRPC_SERVER_RECEIVED_MESSAGES_PER_RPC_VIEW
.static final View
HourView
for server response bytes.static final View
MinuteView
for server response bytes.static final View
Deprecated.in favor ofGRPC_SERVER_SENT_BYTES_PER_RPC_VIEW
.static final View
HourView
for server response messages.static final View
MinuteView
for server response messages.static final View
Deprecated.in favor ofGRPC_SERVER_SENT_MESSAGES_PER_RPC_VIEW
.static final View
HourView
for server elapsed time in milliseconds.static final View
MinuteView
for server elapsed time in milliseconds.static final View
Deprecated.in favor ofGRPC_SERVER_SERVER_LATENCY_VIEW
.static final View
HourView
for server latency in milliseconds.static final View
MinuteView
for server latency in milliseconds.static final View
Deprecated.in favor ofGRPC_SERVER_SERVER_LATENCY_VIEW
.static final View
Deprecated.in favor ofGRPC_SERVER_STARTED_RPC_VIEW
.static final View
HourView
for started server RPCs.static final View
MinuteView
for started server RPCs.static final View
HourView
for server uncompressed request bytes.static final View
MinuteView
for server uncompressed request bytes.static final View
Deprecated.in favor ofGRPC_SERVER_RECEIVED_BYTES_PER_RPC_VIEW
.static final View
HourView
for server uncompressed response bytes.static final View
MinuteView
for server uncompressed response bytes.static final View
Deprecated.in favor ofGRPC_SERVER_SENT_BYTES_PER_RPC_VIEW
.(package private) static final Aggregation
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
RPC_BYTES_BUCKET_BOUNDARIES
-
RPC_MILLIS_BUCKET_BOUNDARIES
-
RPC_MILLIS_BUCKET_BOUNDARIES_DEPRECATED
-
RPC_COUNT_BUCKET_BOUNDARIES
-
RETRY_COUNT_PER_CALL_BUCKET_BOUNDARIES
-
MEAN
-
COUNT
-
SUM
-
AGGREGATION_WITH_BYTES_HISTOGRAM
-
AGGREGATION_WITH_MILLIS_HISTOGRAM
-
AGGREGATION_WITH_MILLIS_HISTOGRAM_DEPRECATED
-
AGGREGATION_WITH_COUNT_HISTOGRAM
-
AGGREGATION_WITH_COUNT_RETRY_HISTOGRAM
-
MINUTE
-
HOUR
-
CUMULATIVE
-
INTERVAL_MINUTE
-
INTERVAL_HOUR
-
RPC_CLIENT_ERROR_COUNT_VIEW
Deprecated.since error count measure is deprecated.CumulativeView
for client RPC errors.- Since:
- 0.8
-
RPC_CLIENT_ROUNDTRIP_LATENCY_VIEW
Deprecated.in favor ofGRPC_CLIENT_ROUNDTRIP_LATENCY_VIEW
.CumulativeView
for client roundtrip latency in milliseconds.- Since:
- 0.8
-
RPC_CLIENT_SERVER_ELAPSED_TIME_VIEW
Deprecated.in favor ofGRPC_CLIENT_SERVER_LATENCY_VIEW
.CumulativeView
for client server elapsed time in milliseconds.- Since:
- 0.8
-
RPC_CLIENT_REQUEST_BYTES_VIEW
Deprecated.in favor ofGRPC_CLIENT_SENT_BYTES_PER_RPC_VIEW
.CumulativeView
for client request bytes.- Since:
- 0.8
-
RPC_CLIENT_RESPONSE_BYTES_VIEW
Deprecated.in favor ofGRPC_CLIENT_RECEIVED_BYTES_PER_RPC_VIEW
.CumulativeView
for client response bytes.- Since:
- 0.8
-
RPC_CLIENT_UNCOMPRESSED_REQUEST_BYTES_VIEW
Deprecated.in favor ofGRPC_CLIENT_SENT_BYTES_PER_RPC_VIEW
.CumulativeView
for client uncompressed request bytes.- Since:
- 0.8
-
RPC_CLIENT_UNCOMPRESSED_RESPONSE_BYTES_VIEW
Deprecated.in favor ofGRPC_CLIENT_RECEIVED_BYTES_PER_RPC_VIEW
.CumulativeView
for client uncompressed response bytes.- Since:
- 0.8
-
RPC_CLIENT_REQUEST_COUNT_VIEW
Deprecated.in favor ofGRPC_CLIENT_SENT_MESSAGES_PER_RPC_VIEW
.CumulativeView
for client request message counts.- Since:
- 0.8
-
RPC_CLIENT_RESPONSE_COUNT_VIEW
Deprecated.in favor ofGRPC_CLIENT_RECEIVED_MESSAGES_PER_RPC_VIEW
.CumulativeView
for client response message counts.- Since:
- 0.8
-
RPC_CLIENT_STARTED_COUNT_CUMULATIVE_VIEW
Deprecated.in favor ofGRPC_CLIENT_STARTED_RPC_VIEW
.CumulativeView
for started client RPCs.- Since:
- 0.12
-
RPC_CLIENT_FINISHED_COUNT_CUMULATIVE_VIEW
Deprecated.in favor ofGRPC_CLIENT_COMPLETED_RPC_VIEW
.CumulativeView
for finished client RPCs.- Since:
- 0.12
-
GRPC_CLIENT_ROUNDTRIP_LATENCY_VIEW
View
for client roundtrip latency in milliseconds.- Since:
- 0.13
-
GRPC_CLIENT_SERVER_LATENCY_VIEW
View
for client server latency in milliseconds.- Since:
- 0.13
-
GRPC_CLIENT_SENT_BYTES_PER_RPC_VIEW
View
for client sent bytes per RPC.- Since:
- 0.13
-
GRPC_CLIENT_RECEIVED_BYTES_PER_RPC_VIEW
View
for client received bytes per RPC.- Since:
- 0.13
-
GRPC_CLIENT_SENT_MESSAGES_PER_RPC_VIEW
View
for client sent messages per RPC.- Since:
- 0.13
-
GRPC_CLIENT_RECEIVED_MESSAGES_PER_RPC_VIEW
View
for client received messages per RPC.- Since:
- 0.13
-
GRPC_CLIENT_SENT_BYTES_PER_METHOD_VIEW
View
for client sent bytes per method.- Since:
- 0.18
-
GRPC_CLIENT_RECEIVED_BYTES_PER_METHOD_VIEW
View
for client received bytes per method.- Since:
- 0.18
-
GRPC_CLIENT_SENT_MESSAGES_PER_METHOD_VIEW
View
for client sent messages.- Since:
- 0.18
-
GRPC_CLIENT_RECEIVED_MESSAGES_PER_METHOD_VIEW
View
for client received messages.- Since:
- 0.18
-
GRPC_CLIENT_COMPLETED_RPC_VIEW
View
for completed client RPCs.This
View
uses measureGRPC_CLIENT_ROUNDTRIP_LATENCY
, since completed RPCs can be inferred over any measure recorded once per RPC (since it's just a count aggregation over the measure). It would be unnecessary to use a separate "count" measure.- Since:
- 0.13
-
GRPC_CLIENT_STARTED_RPC_VIEW
View
for started client RPCs.- Since:
- 0.14
-
GRPC_CLIENT_RETRIES_PER_CALL_VIEW
View
for client retries per call.- Since:
- 0.28
-
GRPC_CLIENT_TRANSPARENT_RETRIES_VIEW
View
for total transparent client retries across calls.- Since:
- 0.28
-
GRPC_CLIENT_RETRY_DELAY_PER_CALL_VIEW
View
for total time of delay while there is no active attempt during the client call.- Since:
- 0.28
-
GRPC_CLIENT_RETRIES_VIEW
View
for total retries across all calls, excluding transparent retries.- Since:
- 0.28
-
GRPC_CLIENT_TRANSPARENT_RETRIES_PER_CALL_VIEW
View
for transparent retries per call.- Since:
- 0.28
-
RPC_SERVER_ERROR_COUNT_VIEW
Deprecated.since error count measure is deprecated.CumulativeView
for server RPC errors.- Since:
- 0.8
-
RPC_SERVER_SERVER_LATENCY_VIEW
Deprecated.in favor ofGRPC_SERVER_SERVER_LATENCY_VIEW
.CumulativeView
for server latency in milliseconds.- Since:
- 0.8
-
RPC_SERVER_SERVER_ELAPSED_TIME_VIEW
Deprecated.in favor ofGRPC_SERVER_SERVER_LATENCY_VIEW
.CumulativeView
for server elapsed time in milliseconds.- Since:
- 0.8
-
RPC_SERVER_REQUEST_BYTES_VIEW
Deprecated.in favor ofGRPC_SERVER_RECEIVED_BYTES_PER_RPC_VIEW
.CumulativeView
for server request bytes.- Since:
- 0.8
-
RPC_SERVER_RESPONSE_BYTES_VIEW
Deprecated.in favor ofGRPC_SERVER_SENT_BYTES_PER_RPC_VIEW
.CumulativeView
for server response bytes.- Since:
- 0.8
-
RPC_SERVER_UNCOMPRESSED_REQUEST_BYTES_VIEW
Deprecated.in favor ofGRPC_SERVER_RECEIVED_BYTES_PER_RPC_VIEW
.CumulativeView
for server uncompressed request bytes.- Since:
- 0.8
-
RPC_SERVER_UNCOMPRESSED_RESPONSE_BYTES_VIEW
Deprecated.in favor ofGRPC_SERVER_SENT_BYTES_PER_RPC_VIEW
.CumulativeView
for server uncompressed response bytes.- Since:
- 0.8
-
RPC_SERVER_REQUEST_COUNT_VIEW
Deprecated.in favor ofGRPC_SERVER_RECEIVED_MESSAGES_PER_RPC_VIEW
.CumulativeView
for server request message counts.- Since:
- 0.8
-
RPC_SERVER_RESPONSE_COUNT_VIEW
Deprecated.in favor ofGRPC_SERVER_SENT_MESSAGES_PER_RPC_VIEW
.CumulativeView
for server response message counts.- Since:
- 0.8
-
RPC_SERVER_STARTED_COUNT_CUMULATIVE_VIEW
Deprecated.in favor ofGRPC_SERVER_STARTED_RPC_VIEW
.CumulativeView
for started server RPCs.- Since:
- 0.12
-
RPC_SERVER_FINISHED_COUNT_CUMULATIVE_VIEW
Deprecated.in favor ofGRPC_SERVER_COMPLETED_RPC_VIEW
.CumulativeView
for finished server RPCs.- Since:
- 0.12
-
GRPC_SERVER_SERVER_LATENCY_VIEW
View
for server server latency in milliseconds.- Since:
- 0.13
-
GRPC_SERVER_SENT_BYTES_PER_RPC_VIEW
View
for server sent bytes per RPC.- Since:
- 0.13
-
GRPC_SERVER_RECEIVED_BYTES_PER_RPC_VIEW
View
for server received bytes per RPC.- Since:
- 0.13
-
GRPC_SERVER_SENT_MESSAGES_PER_RPC_VIEW
View
for server sent messages per RPC.- Since:
- 0.13
-
GRPC_SERVER_RECEIVED_MESSAGES_PER_RPC_VIEW
View
for server received messages per RPC.- Since:
- 0.13
-
GRPC_SERVER_SENT_BYTES_PER_METHOD_VIEW
View
for total server sent bytes per method.- Since:
- 0.18
-
GRPC_SERVER_RECEIVED_BYTES_PER_METHOD_VIEW
View
for total server received bytes per method.- Since:
- 0.18
-
GRPC_SERVER_SENT_MESSAGES_PER_METHOD_VIEW
View
for server sent messages.- Since:
- 0.18
-
GRPC_SERVER_RECEIVED_MESSAGES_PER_METHOD_VIEW
View
for server received messages.- Since:
- 0.18
-
GRPC_SERVER_COMPLETED_RPC_VIEW
View
for completed server RPCs.This
View
uses measureGRPC_SERVER_SERVER_LATENCY
, since completed RPCs can be inferred over any measure recorded once per RPC (since it's just a count aggregation over the measure). It would be unnecessary to use a separate "count" measure.- Since:
- 0.13
-
GRPC_SERVER_STARTED_RPC_VIEW
View
for started server RPCs.- Since:
- 0.14
-
RPC_CLIENT_ROUNDTRIP_LATENCY_MINUTE_VIEW
MinuteView
for client roundtrip latency in milliseconds.- Since:
- 0.8
-
RPC_CLIENT_REQUEST_BYTES_MINUTE_VIEW
MinuteView
for client request bytes.- Since:
- 0.8
-
RPC_CLIENT_RESPONSE_BYTES_MINUTE_VIEW
MinuteView
for client response bytes.- Since:
- 0.8
-
RPC_CLIENT_ERROR_COUNT_MINUTE_VIEW
MinuteView
for client RPC errors.- Since:
- 0.8
-
RPC_CLIENT_UNCOMPRESSED_REQUEST_BYTES_MINUTE_VIEW
MinuteView
for client uncompressed request bytes.- Since:
- 0.8
-
RPC_CLIENT_UNCOMPRESSED_RESPONSE_BYTES_MINUTE_VIEW
MinuteView
for client uncompressed response bytes.- Since:
- 0.8
-
RPC_CLIENT_SERVER_ELAPSED_TIME_MINUTE_VIEW
MinuteView
for client server elapsed time in milliseconds.- Since:
- 0.8
-
RPC_CLIENT_STARTED_COUNT_MINUTE_VIEW
MinuteView
for started client RPCs.- Since:
- 0.8
-
RPC_CLIENT_FINISHED_COUNT_MINUTE_VIEW
MinuteView
for finished client RPCs.- Since:
- 0.8
-
RPC_CLIENT_REQUEST_COUNT_MINUTE_VIEW
MinuteView
for client request messages.- Since:
- 0.8
-
RPC_CLIENT_RESPONSE_COUNT_MINUTE_VIEW
MinuteView
for client response messages.- Since:
- 0.8
-
RPC_CLIENT_ROUNDTRIP_LATENCY_HOUR_VIEW
HourView
for client roundtrip latency in milliseconds.- Since:
- 0.8
-
RPC_CLIENT_REQUEST_BYTES_HOUR_VIEW
HourView
for client request bytes.- Since:
- 0.8
-
RPC_CLIENT_RESPONSE_BYTES_HOUR_VIEW
HourView
for client response bytes.- Since:
- 0.8
-
RPC_CLIENT_ERROR_COUNT_HOUR_VIEW
HourView
for client RPC errors.- Since:
- 0.8
-
RPC_CLIENT_UNCOMPRESSED_REQUEST_BYTES_HOUR_VIEW
HourView
for client uncompressed request bytes.- Since:
- 0.8
-
RPC_CLIENT_UNCOMPRESSED_RESPONSE_BYTES_HOUR_VIEW
HourView
for client uncompressed response bytes.- Since:
- 0.8
-
RPC_CLIENT_SERVER_ELAPSED_TIME_HOUR_VIEW
HourView
for client server elapsed time in milliseconds.- Since:
- 0.8
-
RPC_CLIENT_STARTED_COUNT_HOUR_VIEW
HourView
for started client RPCs.- Since:
- 0.8
-
RPC_CLIENT_FINISHED_COUNT_HOUR_VIEW
HourView
for finished client RPCs.- Since:
- 0.8
-
RPC_CLIENT_REQUEST_COUNT_HOUR_VIEW
HourView
for client request messages.- Since:
- 0.8
-
RPC_CLIENT_RESPONSE_COUNT_HOUR_VIEW
HourView
for client response messages.- Since:
- 0.8
-
RPC_SERVER_SERVER_LATENCY_MINUTE_VIEW
MinuteView
for server latency in milliseconds.- Since:
- 0.8
-
RPC_SERVER_REQUEST_BYTES_MINUTE_VIEW
MinuteView
for server request bytes.- Since:
- 0.8
-
RPC_SERVER_RESPONSE_BYTES_MINUTE_VIEW
MinuteView
for server response bytes.- Since:
- 0.8
-
RPC_SERVER_ERROR_COUNT_MINUTE_VIEW
MinuteView
for server RPC errors.- Since:
- 0.8
-
RPC_SERVER_UNCOMPRESSED_REQUEST_BYTES_MINUTE_VIEW
MinuteView
for server uncompressed request bytes.- Since:
- 0.8
-
RPC_SERVER_UNCOMPRESSED_RESPONSE_BYTES_MINUTE_VIEW
MinuteView
for server uncompressed response bytes.- Since:
- 0.8
-
RPC_SERVER_SERVER_ELAPSED_TIME_MINUTE_VIEW
MinuteView
for server elapsed time in milliseconds.- Since:
- 0.8
-
RPC_SERVER_STARTED_COUNT_MINUTE_VIEW
MinuteView
for started server RPCs.- Since:
- 0.8
-
RPC_SERVER_FINISHED_COUNT_MINUTE_VIEW
MinuteView
for finished server RPCs.- Since:
- 0.8
-
RPC_SERVER_REQUEST_COUNT_MINUTE_VIEW
MinuteView
for server request messages.- Since:
- 0.8
-
RPC_SERVER_RESPONSE_COUNT_MINUTE_VIEW
MinuteView
for server response messages.- Since:
- 0.8
-
RPC_SERVER_SERVER_LATENCY_HOUR_VIEW
HourView
for server latency in milliseconds.- Since:
- 0.8
-
RPC_SERVER_REQUEST_BYTES_HOUR_VIEW
HourView
for server request bytes.- Since:
- 0.8
-
RPC_SERVER_RESPONSE_BYTES_HOUR_VIEW
HourView
for server response bytes.- Since:
- 0.8
-
RPC_SERVER_ERROR_COUNT_HOUR_VIEW
HourView
for server RPC errors.- Since:
- 0.8
-
RPC_SERVER_UNCOMPRESSED_REQUEST_BYTES_HOUR_VIEW
HourView
for server uncompressed request bytes.- Since:
- 0.8
-
RPC_SERVER_UNCOMPRESSED_RESPONSE_BYTES_HOUR_VIEW
HourView
for server uncompressed response bytes.- Since:
- 0.8
-
RPC_SERVER_SERVER_ELAPSED_TIME_HOUR_VIEW
HourView
for server elapsed time in milliseconds.- Since:
- 0.8
-
RPC_SERVER_STARTED_COUNT_HOUR_VIEW
HourView
for started server RPCs.- Since:
- 0.8
-
RPC_SERVER_FINISHED_COUNT_HOUR_VIEW
HourView
for finished server RPCs.- Since:
- 0.8
-
RPC_SERVER_REQUEST_COUNT_HOUR_VIEW
HourView
for server request messages.- Since:
- 0.8
-
RPC_SERVER_RESPONSE_COUNT_HOUR_VIEW
HourView
for server response messages.- Since:
- 0.8
-
-
Constructor Details
-
RpcViewConstants
private RpcViewConstants()
-