Class HttpViewConstants

java.lang.Object
io.opencensus.contrib.http.util.HttpViewConstants

public final class HttpViewConstants extends Object
A helper class that holds OpenCensus's default HTTP Views.

Views in this class are all public for other libraries/frameworks to reference and use.

Since:
0.13
  • Field Details

    • COUNT

      static final Aggregation COUNT
    • SIZE_DISTRIBUTION

      static final Aggregation SIZE_DISTRIBUTION
    • LATENCY_DISTRIBUTION

      static final Aggregation LATENCY_DISTRIBUTION
    • HTTP_CLIENT_COMPLETED_COUNT_VIEW

      public static final View HTTP_CLIENT_COMPLETED_COUNT_VIEW
      View for count of client-side HTTP requests completed.
      Since:
      0.13
    • HTTP_CLIENT_SENT_BYTES_VIEW

      public static final View HTTP_CLIENT_SENT_BYTES_VIEW
      View for size distribution of client-side HTTP request body.
      Since:
      0.13
    • HTTP_CLIENT_RECEIVED_BYTES_VIEW

      public static final View HTTP_CLIENT_RECEIVED_BYTES_VIEW
      View for size distribution of client-side HTTP response body.
      Since:
      0.13
    • HTTP_CLIENT_ROUNDTRIP_LATENCY_VIEW

      public static final View HTTP_CLIENT_ROUNDTRIP_LATENCY_VIEW
      View for roundtrip latency distribution of client-side HTTP requests.
      Since:
      0.13
    • HTTP_SERVER_COMPLETED_COUNT_VIEW

      public static final View HTTP_SERVER_COMPLETED_COUNT_VIEW
      View for count of server-side HTTP requests serving completed.
      Since:
      0.13
    • HTTP_SERVER_RECEIVED_BYTES_VIEW

      public static final View HTTP_SERVER_RECEIVED_BYTES_VIEW
      View for size distribution of server-side HTTP request body.
      Since:
      0.13
    • HTTP_SERVER_SENT_BYTES_VIEW

      public static final View HTTP_SERVER_SENT_BYTES_VIEW
      View for size distribution of server-side HTTP response body.
      Since:
      0.13
    • HTTP_SERVER_LATENCY_VIEW

      public static final View HTTP_SERVER_LATENCY_VIEW
      View for latency distribution of server-side HTTP requests serving.
      Since:
      0.13
  • Constructor Details

    • HttpViewConstants

      private HttpViewConstants()