Class RpcViewConstants

java.lang.Object
io.opencensus.contrib.grpc.metrics.RpcViewConstants

public final class RpcViewConstants extends Object
Constants for exporting views on rpc stats.
Since:
0.8
  • Field Details

    • RPC_CLIENT_ERROR_COUNT_VIEW

      @Deprecated public static final View RPC_CLIENT_ERROR_COUNT_VIEW
      Deprecated.
      since error count measure is deprecated.
      Cumulative View for client RPC errors.
      Since:
      0.8
    • RPC_CLIENT_ROUNDTRIP_LATENCY_VIEW

      @Deprecated public static final View RPC_CLIENT_ROUNDTRIP_LATENCY_VIEW
      Deprecated.
      Cumulative View for client roundtrip latency in milliseconds.
      Since:
      0.8
    • RPC_CLIENT_SERVER_ELAPSED_TIME_VIEW

      @Deprecated public static final View RPC_CLIENT_SERVER_ELAPSED_TIME_VIEW
      Deprecated.
      Cumulative View for client server elapsed time in milliseconds.
      Since:
      0.8
    • RPC_CLIENT_REQUEST_BYTES_VIEW

      @Deprecated public static final View RPC_CLIENT_REQUEST_BYTES_VIEW
      Deprecated.
      Cumulative View for client request bytes.
      Since:
      0.8
    • RPC_CLIENT_RESPONSE_BYTES_VIEW

      @Deprecated public static final View RPC_CLIENT_RESPONSE_BYTES_VIEW
      Deprecated.
      Cumulative View for client response bytes.
      Since:
      0.8
    • RPC_CLIENT_UNCOMPRESSED_REQUEST_BYTES_VIEW

      @Deprecated public static final View RPC_CLIENT_UNCOMPRESSED_REQUEST_BYTES_VIEW
      Deprecated.
      Cumulative View for client uncompressed request bytes.
      Since:
      0.8
    • RPC_CLIENT_UNCOMPRESSED_RESPONSE_BYTES_VIEW

      @Deprecated public static final View RPC_CLIENT_UNCOMPRESSED_RESPONSE_BYTES_VIEW
      Deprecated.
      Cumulative View for client uncompressed response bytes.
      Since:
      0.8
    • RPC_CLIENT_REQUEST_COUNT_VIEW

      @Deprecated public static final View RPC_CLIENT_REQUEST_COUNT_VIEW
      Deprecated.
      Cumulative View for client request message counts.
      Since:
      0.8
    • RPC_CLIENT_RESPONSE_COUNT_VIEW

      @Deprecated public static final View RPC_CLIENT_RESPONSE_COUNT_VIEW
      Cumulative View for client response message counts.
      Since:
      0.8
    • RPC_CLIENT_STARTED_COUNT_CUMULATIVE_VIEW

      @Deprecated public static final View RPC_CLIENT_STARTED_COUNT_CUMULATIVE_VIEW
      Deprecated.
      Cumulative View for started client RPCs.
      Since:
      0.12
    • RPC_CLIENT_FINISHED_COUNT_CUMULATIVE_VIEW

      @Deprecated public static final View RPC_CLIENT_FINISHED_COUNT_CUMULATIVE_VIEW
      Deprecated.
      Cumulative View for finished client RPCs.
      Since:
      0.12
    • GRPC_CLIENT_ROUNDTRIP_LATENCY_VIEW

      public static final View GRPC_CLIENT_ROUNDTRIP_LATENCY_VIEW
      View for client roundtrip latency in milliseconds.
      Since:
      0.13
    • GRPC_CLIENT_SERVER_LATENCY_VIEW

      public static final View GRPC_CLIENT_SERVER_LATENCY_VIEW
      View for client server latency in milliseconds.
      Since:
      0.13
    • GRPC_CLIENT_SENT_BYTES_PER_RPC_VIEW

      public static final View GRPC_CLIENT_SENT_BYTES_PER_RPC_VIEW
      View for client sent bytes per RPC.
      Since:
      0.13
    • GRPC_CLIENT_RECEIVED_BYTES_PER_RPC_VIEW

      public static final View GRPC_CLIENT_RECEIVED_BYTES_PER_RPC_VIEW
      View for client received bytes per RPC.
      Since:
      0.13
    • GRPC_CLIENT_SENT_MESSAGES_PER_RPC_VIEW

      public static final View GRPC_CLIENT_SENT_MESSAGES_PER_RPC_VIEW
      View for client sent messages per RPC.
      Since:
      0.13
    • GRPC_CLIENT_RECEIVED_MESSAGES_PER_RPC_VIEW

      public static final View GRPC_CLIENT_RECEIVED_MESSAGES_PER_RPC_VIEW
      View for client received messages per RPC.
      Since:
      0.13
    • GRPC_CLIENT_SENT_BYTES_PER_METHOD_VIEW

      public static final View GRPC_CLIENT_SENT_BYTES_PER_METHOD_VIEW
      View for client sent bytes per method.
      Since:
      0.18
    • GRPC_CLIENT_RECEIVED_BYTES_PER_METHOD_VIEW

      public static final View GRPC_CLIENT_RECEIVED_BYTES_PER_METHOD_VIEW
      View for client received bytes per method.
      Since:
      0.18
    • GRPC_CLIENT_SENT_MESSAGES_PER_METHOD_VIEW

      public static final View GRPC_CLIENT_SENT_MESSAGES_PER_METHOD_VIEW
      View for client sent messages.
      Since:
      0.18
    • GRPC_CLIENT_RECEIVED_MESSAGES_PER_METHOD_VIEW

      public static final View GRPC_CLIENT_RECEIVED_MESSAGES_PER_METHOD_VIEW
      View for client received messages.
      Since:
      0.18
    • GRPC_CLIENT_COMPLETED_RPC_VIEW

      public static final View GRPC_CLIENT_COMPLETED_RPC_VIEW
      View for completed client RPCs.

      This View uses measure GRPC_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

      public static final View GRPC_CLIENT_STARTED_RPC_VIEW
      View for started client RPCs.
      Since:
      0.14
    • GRPC_CLIENT_RETRIES_PER_CALL_VIEW

      public static final View GRPC_CLIENT_RETRIES_PER_CALL_VIEW
      View for client retries per call.
      Since:
      0.28
    • GRPC_CLIENT_TRANSPARENT_RETRIES_VIEW

      public static final View GRPC_CLIENT_TRANSPARENT_RETRIES_VIEW
      View for total transparent client retries across calls.
      Since:
      0.28
    • GRPC_CLIENT_RETRY_DELAY_PER_CALL_VIEW

      public static final View 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

      public static final View GRPC_CLIENT_RETRIES_VIEW
      View for total retries across all calls, excluding transparent retries.
      Since:
      0.28
    • GRPC_CLIENT_TRANSPARENT_RETRIES_PER_CALL_VIEW

      public static final View GRPC_CLIENT_TRANSPARENT_RETRIES_PER_CALL_VIEW
      View for transparent retries per call.
      Since:
      0.28
    • RPC_SERVER_ERROR_COUNT_VIEW

      @Deprecated public static final View RPC_SERVER_ERROR_COUNT_VIEW
      Deprecated.
      since error count measure is deprecated.
      Cumulative View for server RPC errors.
      Since:
      0.8
    • RPC_SERVER_SERVER_LATENCY_VIEW

      @Deprecated public static final View RPC_SERVER_SERVER_LATENCY_VIEW
      Deprecated.
      Cumulative View for server latency in milliseconds.
      Since:
      0.8
    • RPC_SERVER_SERVER_ELAPSED_TIME_VIEW

      @Deprecated public static final View RPC_SERVER_SERVER_ELAPSED_TIME_VIEW
      Deprecated.
      Cumulative View for server elapsed time in milliseconds.
      Since:
      0.8
    • RPC_SERVER_REQUEST_BYTES_VIEW

      @Deprecated public static final View RPC_SERVER_REQUEST_BYTES_VIEW
      Deprecated.
      Cumulative View for server request bytes.
      Since:
      0.8
    • RPC_SERVER_RESPONSE_BYTES_VIEW

      @Deprecated public static final View RPC_SERVER_RESPONSE_BYTES_VIEW
      Deprecated.
      Cumulative View for server response bytes.
      Since:
      0.8
    • RPC_SERVER_UNCOMPRESSED_REQUEST_BYTES_VIEW

      @Deprecated public static final View RPC_SERVER_UNCOMPRESSED_REQUEST_BYTES_VIEW
      Deprecated.
      Cumulative View for server uncompressed request bytes.
      Since:
      0.8
    • RPC_SERVER_UNCOMPRESSED_RESPONSE_BYTES_VIEW

      @Deprecated public static final View RPC_SERVER_UNCOMPRESSED_RESPONSE_BYTES_VIEW
      Deprecated.
      Cumulative View for server uncompressed response bytes.
      Since:
      0.8
    • RPC_SERVER_REQUEST_COUNT_VIEW

      @Deprecated public static final View RPC_SERVER_REQUEST_COUNT_VIEW
      Cumulative View for server request message counts.
      Since:
      0.8
    • RPC_SERVER_RESPONSE_COUNT_VIEW

      @Deprecated public static final View RPC_SERVER_RESPONSE_COUNT_VIEW
      Deprecated.
      Cumulative View for server response message counts.
      Since:
      0.8
    • RPC_SERVER_STARTED_COUNT_CUMULATIVE_VIEW

      @Deprecated public static final View RPC_SERVER_STARTED_COUNT_CUMULATIVE_VIEW
      Deprecated.
      Cumulative View for started server RPCs.
      Since:
      0.12
    • RPC_SERVER_FINISHED_COUNT_CUMULATIVE_VIEW

      @Deprecated public static final View RPC_SERVER_FINISHED_COUNT_CUMULATIVE_VIEW
      Deprecated.
      Cumulative View for finished server RPCs.
      Since:
      0.12
    • GRPC_SERVER_SERVER_LATENCY_VIEW

      public static final View GRPC_SERVER_SERVER_LATENCY_VIEW
      View for server server latency in milliseconds.
      Since:
      0.13
    • GRPC_SERVER_SENT_BYTES_PER_RPC_VIEW

      public static final View GRPC_SERVER_SENT_BYTES_PER_RPC_VIEW
      View for server sent bytes per RPC.
      Since:
      0.13
    • GRPC_SERVER_RECEIVED_BYTES_PER_RPC_VIEW

      public static final View GRPC_SERVER_RECEIVED_BYTES_PER_RPC_VIEW
      View for server received bytes per RPC.
      Since:
      0.13
    • GRPC_SERVER_SENT_MESSAGES_PER_RPC_VIEW

      public static final View GRPC_SERVER_SENT_MESSAGES_PER_RPC_VIEW
      View for server sent messages per RPC.
      Since:
      0.13
    • GRPC_SERVER_RECEIVED_MESSAGES_PER_RPC_VIEW

      public static final View GRPC_SERVER_RECEIVED_MESSAGES_PER_RPC_VIEW
      View for server received messages per RPC.
      Since:
      0.13
    • GRPC_SERVER_SENT_BYTES_PER_METHOD_VIEW

      public static final View 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

      public static final View 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

      public static final View GRPC_SERVER_SENT_MESSAGES_PER_METHOD_VIEW
      View for server sent messages.
      Since:
      0.18
    • GRPC_SERVER_RECEIVED_MESSAGES_PER_METHOD_VIEW

      public static final View GRPC_SERVER_RECEIVED_MESSAGES_PER_METHOD_VIEW
      View for server received messages.
      Since:
      0.18
    • GRPC_SERVER_COMPLETED_RPC_VIEW

      public static final View GRPC_SERVER_COMPLETED_RPC_VIEW
      View for completed server RPCs.

      This View uses measure GRPC_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

      public static final View GRPC_SERVER_STARTED_RPC_VIEW
      View for started server RPCs.
      Since:
      0.14
    • RPC_CLIENT_ROUNDTRIP_LATENCY_MINUTE_VIEW

      public static final View RPC_CLIENT_ROUNDTRIP_LATENCY_MINUTE_VIEW
      Minute View for client roundtrip latency in milliseconds.
      Since:
      0.8
    • RPC_CLIENT_REQUEST_BYTES_MINUTE_VIEW

      public static final View RPC_CLIENT_REQUEST_BYTES_MINUTE_VIEW
      Minute View for client request bytes.
      Since:
      0.8
    • RPC_CLIENT_RESPONSE_BYTES_MINUTE_VIEW

      public static final View RPC_CLIENT_RESPONSE_BYTES_MINUTE_VIEW
      Minute View for client response bytes.
      Since:
      0.8
    • RPC_CLIENT_ERROR_COUNT_MINUTE_VIEW

      public static final View RPC_CLIENT_ERROR_COUNT_MINUTE_VIEW
      Minute View for client RPC errors.
      Since:
      0.8
    • RPC_CLIENT_UNCOMPRESSED_REQUEST_BYTES_MINUTE_VIEW

      public static final View RPC_CLIENT_UNCOMPRESSED_REQUEST_BYTES_MINUTE_VIEW
      Minute View for client uncompressed request bytes.
      Since:
      0.8
    • RPC_CLIENT_UNCOMPRESSED_RESPONSE_BYTES_MINUTE_VIEW

      public static final View RPC_CLIENT_UNCOMPRESSED_RESPONSE_BYTES_MINUTE_VIEW
      Minute View for client uncompressed response bytes.
      Since:
      0.8
    • RPC_CLIENT_SERVER_ELAPSED_TIME_MINUTE_VIEW

      public static final View RPC_CLIENT_SERVER_ELAPSED_TIME_MINUTE_VIEW
      Minute View for client server elapsed time in milliseconds.
      Since:
      0.8
    • RPC_CLIENT_STARTED_COUNT_MINUTE_VIEW

      public static final View RPC_CLIENT_STARTED_COUNT_MINUTE_VIEW
      Minute View for started client RPCs.
      Since:
      0.8
    • RPC_CLIENT_FINISHED_COUNT_MINUTE_VIEW

      public static final View RPC_CLIENT_FINISHED_COUNT_MINUTE_VIEW
      Minute View for finished client RPCs.
      Since:
      0.8
    • RPC_CLIENT_REQUEST_COUNT_MINUTE_VIEW

      public static final View RPC_CLIENT_REQUEST_COUNT_MINUTE_VIEW
      Minute View for client request messages.
      Since:
      0.8
    • RPC_CLIENT_RESPONSE_COUNT_MINUTE_VIEW

      public static final View RPC_CLIENT_RESPONSE_COUNT_MINUTE_VIEW
      Minute View for client response messages.
      Since:
      0.8
    • RPC_CLIENT_ROUNDTRIP_LATENCY_HOUR_VIEW

      public static final View RPC_CLIENT_ROUNDTRIP_LATENCY_HOUR_VIEW
      Hour View for client roundtrip latency in milliseconds.
      Since:
      0.8
    • RPC_CLIENT_REQUEST_BYTES_HOUR_VIEW

      public static final View RPC_CLIENT_REQUEST_BYTES_HOUR_VIEW
      Hour View for client request bytes.
      Since:
      0.8
    • RPC_CLIENT_RESPONSE_BYTES_HOUR_VIEW

      public static final View RPC_CLIENT_RESPONSE_BYTES_HOUR_VIEW
      Hour View for client response bytes.
      Since:
      0.8
    • RPC_CLIENT_ERROR_COUNT_HOUR_VIEW

      public static final View RPC_CLIENT_ERROR_COUNT_HOUR_VIEW
      Hour View for client RPC errors.
      Since:
      0.8
    • RPC_CLIENT_UNCOMPRESSED_REQUEST_BYTES_HOUR_VIEW

      public static final View RPC_CLIENT_UNCOMPRESSED_REQUEST_BYTES_HOUR_VIEW
      Hour View for client uncompressed request bytes.
      Since:
      0.8
    • RPC_CLIENT_UNCOMPRESSED_RESPONSE_BYTES_HOUR_VIEW

      public static final View RPC_CLIENT_UNCOMPRESSED_RESPONSE_BYTES_HOUR_VIEW
      Hour View for client uncompressed response bytes.
      Since:
      0.8
    • RPC_CLIENT_SERVER_ELAPSED_TIME_HOUR_VIEW

      public static final View RPC_CLIENT_SERVER_ELAPSED_TIME_HOUR_VIEW
      Hour View for client server elapsed time in milliseconds.
      Since:
      0.8
    • RPC_CLIENT_STARTED_COUNT_HOUR_VIEW

      public static final View RPC_CLIENT_STARTED_COUNT_HOUR_VIEW
      Hour View for started client RPCs.
      Since:
      0.8
    • RPC_CLIENT_FINISHED_COUNT_HOUR_VIEW

      public static final View RPC_CLIENT_FINISHED_COUNT_HOUR_VIEW
      Hour View for finished client RPCs.
      Since:
      0.8
    • RPC_CLIENT_REQUEST_COUNT_HOUR_VIEW

      public static final View RPC_CLIENT_REQUEST_COUNT_HOUR_VIEW
      Hour View for client request messages.
      Since:
      0.8
    • RPC_CLIENT_RESPONSE_COUNT_HOUR_VIEW

      public static final View RPC_CLIENT_RESPONSE_COUNT_HOUR_VIEW
      Hour View for client response messages.
      Since:
      0.8
    • RPC_SERVER_SERVER_LATENCY_MINUTE_VIEW

      public static final View RPC_SERVER_SERVER_LATENCY_MINUTE_VIEW
      Minute View for server latency in milliseconds.
      Since:
      0.8
    • RPC_SERVER_REQUEST_BYTES_MINUTE_VIEW

      public static final View RPC_SERVER_REQUEST_BYTES_MINUTE_VIEW
      Minute View for server request bytes.
      Since:
      0.8
    • RPC_SERVER_RESPONSE_BYTES_MINUTE_VIEW

      public static final View RPC_SERVER_RESPONSE_BYTES_MINUTE_VIEW
      Minute View for server response bytes.
      Since:
      0.8
    • RPC_SERVER_ERROR_COUNT_MINUTE_VIEW

      public static final View RPC_SERVER_ERROR_COUNT_MINUTE_VIEW
      Minute View for server RPC errors.
      Since:
      0.8
    • RPC_SERVER_UNCOMPRESSED_REQUEST_BYTES_MINUTE_VIEW

      public static final View RPC_SERVER_UNCOMPRESSED_REQUEST_BYTES_MINUTE_VIEW
      Minute View for server uncompressed request bytes.
      Since:
      0.8
    • RPC_SERVER_UNCOMPRESSED_RESPONSE_BYTES_MINUTE_VIEW

      public static final View RPC_SERVER_UNCOMPRESSED_RESPONSE_BYTES_MINUTE_VIEW
      Minute View for server uncompressed response bytes.
      Since:
      0.8
    • RPC_SERVER_SERVER_ELAPSED_TIME_MINUTE_VIEW

      public static final View RPC_SERVER_SERVER_ELAPSED_TIME_MINUTE_VIEW
      Minute View for server elapsed time in milliseconds.
      Since:
      0.8
    • RPC_SERVER_STARTED_COUNT_MINUTE_VIEW

      public static final View RPC_SERVER_STARTED_COUNT_MINUTE_VIEW
      Minute View for started server RPCs.
      Since:
      0.8
    • RPC_SERVER_FINISHED_COUNT_MINUTE_VIEW

      public static final View RPC_SERVER_FINISHED_COUNT_MINUTE_VIEW
      Minute View for finished server RPCs.
      Since:
      0.8
    • RPC_SERVER_REQUEST_COUNT_MINUTE_VIEW

      public static final View RPC_SERVER_REQUEST_COUNT_MINUTE_VIEW
      Minute View for server request messages.
      Since:
      0.8
    • RPC_SERVER_RESPONSE_COUNT_MINUTE_VIEW

      public static final View RPC_SERVER_RESPONSE_COUNT_MINUTE_VIEW
      Minute View for server response messages.
      Since:
      0.8
    • RPC_SERVER_SERVER_LATENCY_HOUR_VIEW

      public static final View RPC_SERVER_SERVER_LATENCY_HOUR_VIEW
      Hour View for server latency in milliseconds.
      Since:
      0.8
    • RPC_SERVER_REQUEST_BYTES_HOUR_VIEW

      public static final View RPC_SERVER_REQUEST_BYTES_HOUR_VIEW
      Hour View for server request bytes.
      Since:
      0.8
    • RPC_SERVER_RESPONSE_BYTES_HOUR_VIEW

      public static final View RPC_SERVER_RESPONSE_BYTES_HOUR_VIEW
      Hour View for server response bytes.
      Since:
      0.8
    • RPC_SERVER_ERROR_COUNT_HOUR_VIEW

      public static final View RPC_SERVER_ERROR_COUNT_HOUR_VIEW
      Hour View for server RPC errors.
      Since:
      0.8
    • RPC_SERVER_UNCOMPRESSED_REQUEST_BYTES_HOUR_VIEW

      public static final View RPC_SERVER_UNCOMPRESSED_REQUEST_BYTES_HOUR_VIEW
      Hour View for server uncompressed request bytes.
      Since:
      0.8
    • RPC_SERVER_UNCOMPRESSED_RESPONSE_BYTES_HOUR_VIEW

      public static final View RPC_SERVER_UNCOMPRESSED_RESPONSE_BYTES_HOUR_VIEW
      Hour View for server uncompressed response bytes.
      Since:
      0.8
    • RPC_SERVER_SERVER_ELAPSED_TIME_HOUR_VIEW

      public static final View RPC_SERVER_SERVER_ELAPSED_TIME_HOUR_VIEW
      Hour View for server elapsed time in milliseconds.
      Since:
      0.8
    • RPC_SERVER_STARTED_COUNT_HOUR_VIEW

      public static final View RPC_SERVER_STARTED_COUNT_HOUR_VIEW
      Hour View for started server RPCs.
      Since:
      0.8
    • RPC_SERVER_FINISHED_COUNT_HOUR_VIEW

      public static final View RPC_SERVER_FINISHED_COUNT_HOUR_VIEW
      Hour View for finished server RPCs.
      Since:
      0.8
    • RPC_SERVER_REQUEST_COUNT_HOUR_VIEW

      public static final View RPC_SERVER_REQUEST_COUNT_HOUR_VIEW
      Hour View for server request messages.
      Since:
      0.8
    • RPC_SERVER_RESPONSE_COUNT_HOUR_VIEW

      public static final View RPC_SERVER_RESPONSE_COUNT_HOUR_VIEW
      Hour View for server response messages.
      Since:
      0.8