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.AggregationWindowstatic final ViewViewfor completed client RPCs.static final ViewViewfor client received bytes per method.static final ViewViewfor client received bytes per RPC.static final ViewViewfor client received messages.static final ViewViewfor client received messages per RPC.static final ViewViewfor client retries per call.static final ViewViewfor total retries across all calls, excluding transparent retries.static final ViewViewfor total time of delay while there is no active attempt during the client call.static final ViewViewfor client roundtrip latency in milliseconds.static final ViewViewfor client sent bytes per method.static final ViewViewfor client sent bytes per RPC.static final ViewViewfor client sent messages.static final ViewViewfor client sent messages per RPC.static final ViewViewfor client server latency in milliseconds.static final ViewViewfor started client RPCs.static final ViewViewfor transparent retries per call.static final ViewViewfor total transparent client retries across calls.static final ViewViewfor completed server RPCs.static final ViewViewfor total server received bytes per method.static final ViewViewfor server received bytes per RPC.static final ViewViewfor server received messages.static final ViewViewfor server received messages per RPC.static final ViewViewfor total server sent bytes per method.static final ViewViewfor server sent bytes per RPC.static final ViewViewfor server sent messages.static final ViewViewfor server sent messages per RPC.static final ViewViewfor server server latency in milliseconds.static final ViewViewfor 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 Durationstatic final ViewHourViewfor client RPC errors.static final ViewMinuteViewfor client RPC errors.static final ViewDeprecated.since error count measure is deprecated.static final ViewDeprecated.in favor ofGRPC_CLIENT_COMPLETED_RPC_VIEW.static final ViewHourViewfor finished client RPCs.static final ViewMinuteViewfor finished client RPCs.static final ViewHourViewfor client request bytes.static final ViewMinuteViewfor client request bytes.static final ViewDeprecated.in favor ofGRPC_CLIENT_SENT_BYTES_PER_RPC_VIEW.static final ViewHourViewfor client request messages.static final ViewMinuteViewfor client request messages.static final ViewDeprecated.in favor ofGRPC_CLIENT_SENT_MESSAGES_PER_RPC_VIEW.static final ViewHourViewfor client response bytes.static final ViewMinuteViewfor client response bytes.static final ViewDeprecated.in favor ofGRPC_CLIENT_RECEIVED_BYTES_PER_RPC_VIEW.static final ViewHourViewfor client response messages.static final ViewMinuteViewfor client response messages.static final ViewDeprecated.in favor ofGRPC_CLIENT_RECEIVED_MESSAGES_PER_RPC_VIEW.static final ViewHourViewfor client roundtrip latency in milliseconds.static final ViewMinuteViewfor client roundtrip latency in milliseconds.static final ViewDeprecated.in favor ofGRPC_CLIENT_ROUNDTRIP_LATENCY_VIEW.static final ViewHourViewfor client server elapsed time in milliseconds.static final ViewMinuteViewfor client server elapsed time in milliseconds.static final ViewDeprecated.in favor ofGRPC_CLIENT_SERVER_LATENCY_VIEW.static final ViewDeprecated.in favor ofGRPC_CLIENT_STARTED_RPC_VIEW.static final ViewHourViewfor started client RPCs.static final ViewMinuteViewfor started client RPCs.static final ViewHourViewfor client uncompressed request bytes.static final ViewMinuteViewfor client uncompressed request bytes.static final ViewDeprecated.in favor ofGRPC_CLIENT_SENT_BYTES_PER_RPC_VIEW.static final ViewHourViewfor client uncompressed response bytes.static final ViewMinuteViewfor client uncompressed response bytes.static final ViewDeprecated.in favor ofGRPC_CLIENT_RECEIVED_BYTES_PER_RPC_VIEW.static final ViewHourViewfor server RPC errors.static final ViewMinuteViewfor server RPC errors.static final ViewDeprecated.since error count measure is deprecated.static final ViewDeprecated.in favor ofGRPC_SERVER_COMPLETED_RPC_VIEW.static final ViewHourViewfor finished server RPCs.static final ViewMinuteViewfor finished server RPCs.static final ViewHourViewfor server request bytes.static final ViewMinuteViewfor server request bytes.static final ViewDeprecated.in favor ofGRPC_SERVER_RECEIVED_BYTES_PER_RPC_VIEW.static final ViewHourViewfor server request messages.static final ViewMinuteViewfor server request messages.static final ViewDeprecated.in favor ofGRPC_SERVER_RECEIVED_MESSAGES_PER_RPC_VIEW.static final ViewHourViewfor server response bytes.static final ViewMinuteViewfor server response bytes.static final ViewDeprecated.in favor ofGRPC_SERVER_SENT_BYTES_PER_RPC_VIEW.static final ViewHourViewfor server response messages.static final ViewMinuteViewfor server response messages.static final ViewDeprecated.in favor ofGRPC_SERVER_SENT_MESSAGES_PER_RPC_VIEW.static final ViewHourViewfor server elapsed time in milliseconds.static final ViewMinuteViewfor server elapsed time in milliseconds.static final ViewDeprecated.in favor ofGRPC_SERVER_SERVER_LATENCY_VIEW.static final ViewHourViewfor server latency in milliseconds.static final ViewMinuteViewfor server latency in milliseconds.static final ViewDeprecated.in favor ofGRPC_SERVER_SERVER_LATENCY_VIEW.static final ViewDeprecated.in favor ofGRPC_SERVER_STARTED_RPC_VIEW.static final ViewHourViewfor started server RPCs.static final ViewMinuteViewfor started server RPCs.static final ViewHourViewfor server uncompressed request bytes.static final ViewMinuteViewfor server uncompressed request bytes.static final ViewDeprecated.in favor ofGRPC_SERVER_RECEIVED_BYTES_PER_RPC_VIEW.static final ViewHourViewfor server uncompressed response bytes.static final ViewMinuteViewfor server uncompressed response bytes.static final ViewDeprecated.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.CumulativeViewfor client RPC errors.- Since:
- 0.8
-
RPC_CLIENT_ROUNDTRIP_LATENCY_VIEW
Deprecated.in favor ofGRPC_CLIENT_ROUNDTRIP_LATENCY_VIEW.CumulativeViewfor client roundtrip latency in milliseconds.- Since:
- 0.8
-
RPC_CLIENT_SERVER_ELAPSED_TIME_VIEW
Deprecated.in favor ofGRPC_CLIENT_SERVER_LATENCY_VIEW.CumulativeViewfor client server elapsed time in milliseconds.- Since:
- 0.8
-
RPC_CLIENT_REQUEST_BYTES_VIEW
Deprecated.in favor ofGRPC_CLIENT_SENT_BYTES_PER_RPC_VIEW.CumulativeViewfor client request bytes.- Since:
- 0.8
-
RPC_CLIENT_RESPONSE_BYTES_VIEW
Deprecated.in favor ofGRPC_CLIENT_RECEIVED_BYTES_PER_RPC_VIEW.CumulativeViewfor client response bytes.- Since:
- 0.8
-
RPC_CLIENT_UNCOMPRESSED_REQUEST_BYTES_VIEW
Deprecated.in favor ofGRPC_CLIENT_SENT_BYTES_PER_RPC_VIEW.CumulativeViewfor client uncompressed request bytes.- Since:
- 0.8
-
RPC_CLIENT_UNCOMPRESSED_RESPONSE_BYTES_VIEW
Deprecated.in favor ofGRPC_CLIENT_RECEIVED_BYTES_PER_RPC_VIEW.CumulativeViewfor client uncompressed response bytes.- Since:
- 0.8
-
RPC_CLIENT_REQUEST_COUNT_VIEW
Deprecated.in favor ofGRPC_CLIENT_SENT_MESSAGES_PER_RPC_VIEW.CumulativeViewfor client request message counts.- Since:
- 0.8
-
RPC_CLIENT_RESPONSE_COUNT_VIEW
Deprecated.in favor ofGRPC_CLIENT_RECEIVED_MESSAGES_PER_RPC_VIEW.CumulativeViewfor client response message counts.- Since:
- 0.8
-
RPC_CLIENT_STARTED_COUNT_CUMULATIVE_VIEW
Deprecated.in favor ofGRPC_CLIENT_STARTED_RPC_VIEW.CumulativeViewfor started client RPCs.- Since:
- 0.12
-
RPC_CLIENT_FINISHED_COUNT_CUMULATIVE_VIEW
Deprecated.in favor ofGRPC_CLIENT_COMPLETED_RPC_VIEW.CumulativeViewfor finished client RPCs.- Since:
- 0.12
-
GRPC_CLIENT_ROUNDTRIP_LATENCY_VIEW
-
GRPC_CLIENT_SERVER_LATENCY_VIEW
-
GRPC_CLIENT_SENT_BYTES_PER_RPC_VIEW
-
GRPC_CLIENT_RECEIVED_BYTES_PER_RPC_VIEW
-
GRPC_CLIENT_SENT_MESSAGES_PER_RPC_VIEW
-
GRPC_CLIENT_RECEIVED_MESSAGES_PER_RPC_VIEW
-
GRPC_CLIENT_SENT_BYTES_PER_METHOD_VIEW
-
GRPC_CLIENT_RECEIVED_BYTES_PER_METHOD_VIEW
-
GRPC_CLIENT_SENT_MESSAGES_PER_METHOD_VIEW
-
GRPC_CLIENT_RECEIVED_MESSAGES_PER_METHOD_VIEW
-
GRPC_CLIENT_COMPLETED_RPC_VIEW
Viewfor completed client RPCs.This
Viewuses 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
-
GRPC_CLIENT_RETRIES_PER_CALL_VIEW
-
GRPC_CLIENT_TRANSPARENT_RETRIES_VIEW
-
GRPC_CLIENT_RETRY_DELAY_PER_CALL_VIEW
-
GRPC_CLIENT_RETRIES_VIEW
-
GRPC_CLIENT_TRANSPARENT_RETRIES_PER_CALL_VIEW
-
RPC_SERVER_ERROR_COUNT_VIEW
Deprecated.since error count measure is deprecated.CumulativeViewfor server RPC errors.- Since:
- 0.8
-
RPC_SERVER_SERVER_LATENCY_VIEW
Deprecated.in favor ofGRPC_SERVER_SERVER_LATENCY_VIEW.CumulativeViewfor server latency in milliseconds.- Since:
- 0.8
-
RPC_SERVER_SERVER_ELAPSED_TIME_VIEW
Deprecated.in favor ofGRPC_SERVER_SERVER_LATENCY_VIEW.CumulativeViewfor server elapsed time in milliseconds.- Since:
- 0.8
-
RPC_SERVER_REQUEST_BYTES_VIEW
Deprecated.in favor ofGRPC_SERVER_RECEIVED_BYTES_PER_RPC_VIEW.CumulativeViewfor server request bytes.- Since:
- 0.8
-
RPC_SERVER_RESPONSE_BYTES_VIEW
Deprecated.in favor ofGRPC_SERVER_SENT_BYTES_PER_RPC_VIEW.CumulativeViewfor server response bytes.- Since:
- 0.8
-
RPC_SERVER_UNCOMPRESSED_REQUEST_BYTES_VIEW
Deprecated.in favor ofGRPC_SERVER_RECEIVED_BYTES_PER_RPC_VIEW.CumulativeViewfor server uncompressed request bytes.- Since:
- 0.8
-
RPC_SERVER_UNCOMPRESSED_RESPONSE_BYTES_VIEW
Deprecated.in favor ofGRPC_SERVER_SENT_BYTES_PER_RPC_VIEW.CumulativeViewfor server uncompressed response bytes.- Since:
- 0.8
-
RPC_SERVER_REQUEST_COUNT_VIEW
Deprecated.in favor ofGRPC_SERVER_RECEIVED_MESSAGES_PER_RPC_VIEW.CumulativeViewfor server request message counts.- Since:
- 0.8
-
RPC_SERVER_RESPONSE_COUNT_VIEW
Deprecated.in favor ofGRPC_SERVER_SENT_MESSAGES_PER_RPC_VIEW.CumulativeViewfor server response message counts.- Since:
- 0.8
-
RPC_SERVER_STARTED_COUNT_CUMULATIVE_VIEW
Deprecated.in favor ofGRPC_SERVER_STARTED_RPC_VIEW.CumulativeViewfor started server RPCs.- Since:
- 0.12
-
RPC_SERVER_FINISHED_COUNT_CUMULATIVE_VIEW
Deprecated.in favor ofGRPC_SERVER_COMPLETED_RPC_VIEW.CumulativeViewfor finished server RPCs.- Since:
- 0.12
-
GRPC_SERVER_SERVER_LATENCY_VIEW
-
GRPC_SERVER_SENT_BYTES_PER_RPC_VIEW
-
GRPC_SERVER_RECEIVED_BYTES_PER_RPC_VIEW
-
GRPC_SERVER_SENT_MESSAGES_PER_RPC_VIEW
-
GRPC_SERVER_RECEIVED_MESSAGES_PER_RPC_VIEW
-
GRPC_SERVER_SENT_BYTES_PER_METHOD_VIEW
-
GRPC_SERVER_RECEIVED_BYTES_PER_METHOD_VIEW
-
GRPC_SERVER_SENT_MESSAGES_PER_METHOD_VIEW
-
GRPC_SERVER_RECEIVED_MESSAGES_PER_METHOD_VIEW
-
GRPC_SERVER_COMPLETED_RPC_VIEW
Viewfor completed server RPCs.This
Viewuses 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
-
RPC_CLIENT_ROUNDTRIP_LATENCY_MINUTE_VIEW
-
RPC_CLIENT_REQUEST_BYTES_MINUTE_VIEW
-
RPC_CLIENT_RESPONSE_BYTES_MINUTE_VIEW
-
RPC_CLIENT_ERROR_COUNT_MINUTE_VIEW
-
RPC_CLIENT_UNCOMPRESSED_REQUEST_BYTES_MINUTE_VIEW
-
RPC_CLIENT_UNCOMPRESSED_RESPONSE_BYTES_MINUTE_VIEW
-
RPC_CLIENT_SERVER_ELAPSED_TIME_MINUTE_VIEW
-
RPC_CLIENT_STARTED_COUNT_MINUTE_VIEW
-
RPC_CLIENT_FINISHED_COUNT_MINUTE_VIEW
-
RPC_CLIENT_REQUEST_COUNT_MINUTE_VIEW
-
RPC_CLIENT_RESPONSE_COUNT_MINUTE_VIEW
-
RPC_CLIENT_ROUNDTRIP_LATENCY_HOUR_VIEW
-
RPC_CLIENT_REQUEST_BYTES_HOUR_VIEW
-
RPC_CLIENT_RESPONSE_BYTES_HOUR_VIEW
-
RPC_CLIENT_ERROR_COUNT_HOUR_VIEW
-
RPC_CLIENT_UNCOMPRESSED_REQUEST_BYTES_HOUR_VIEW
-
RPC_CLIENT_UNCOMPRESSED_RESPONSE_BYTES_HOUR_VIEW
-
RPC_CLIENT_SERVER_ELAPSED_TIME_HOUR_VIEW
-
RPC_CLIENT_STARTED_COUNT_HOUR_VIEW
-
RPC_CLIENT_FINISHED_COUNT_HOUR_VIEW
-
RPC_CLIENT_REQUEST_COUNT_HOUR_VIEW
-
RPC_CLIENT_RESPONSE_COUNT_HOUR_VIEW
-
RPC_SERVER_SERVER_LATENCY_MINUTE_VIEW
-
RPC_SERVER_REQUEST_BYTES_MINUTE_VIEW
-
RPC_SERVER_RESPONSE_BYTES_MINUTE_VIEW
-
RPC_SERVER_ERROR_COUNT_MINUTE_VIEW
-
RPC_SERVER_UNCOMPRESSED_REQUEST_BYTES_MINUTE_VIEW
-
RPC_SERVER_UNCOMPRESSED_RESPONSE_BYTES_MINUTE_VIEW
-
RPC_SERVER_SERVER_ELAPSED_TIME_MINUTE_VIEW
-
RPC_SERVER_STARTED_COUNT_MINUTE_VIEW
-
RPC_SERVER_FINISHED_COUNT_MINUTE_VIEW
-
RPC_SERVER_REQUEST_COUNT_MINUTE_VIEW
-
RPC_SERVER_RESPONSE_COUNT_MINUTE_VIEW
-
RPC_SERVER_SERVER_LATENCY_HOUR_VIEW
-
RPC_SERVER_REQUEST_BYTES_HOUR_VIEW
-
RPC_SERVER_RESPONSE_BYTES_HOUR_VIEW
-
RPC_SERVER_ERROR_COUNT_HOUR_VIEW
-
RPC_SERVER_UNCOMPRESSED_REQUEST_BYTES_HOUR_VIEW
-
RPC_SERVER_UNCOMPRESSED_RESPONSE_BYTES_HOUR_VIEW
-
RPC_SERVER_SERVER_ELAPSED_TIME_HOUR_VIEW
-
RPC_SERVER_STARTED_COUNT_HOUR_VIEW
-
RPC_SERVER_FINISHED_COUNT_HOUR_VIEW
-
RPC_SERVER_REQUEST_COUNT_HOUR_VIEW
-
RPC_SERVER_RESPONSE_COUNT_HOUR_VIEW
-
-
Constructor Details
-
RpcViewConstants
private RpcViewConstants()
-