Class HttpViewConstants


  • public final class HttpViewConstants
    extends java.lang.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 Detail

      • 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 Detail

      • HttpViewConstants

        private HttpViewConstants()