Class HttpMeasureConstants
java.lang.Object
io.opencensus.contrib.http.util.HttpMeasureConstants
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TagKeyTagKeyfor the value of the client-side HTTP host header.static final TagKeyTagKeyfor the client-side HTTP method of the request, capitalized (GET, POST, etc.).static final TagKeyTagKeyfor the client-side URL path (not including query string) in the request.static final Measure.MeasureLongMeasurefor the client-side total bytes received in response bodies (not including headers but including error responses with bodies).static final Measure.MeasureDoubleMeasurefor the client-side time between first byte of request headers sent to last byte of response received, or terminal error.static final Measure.MeasureLongMeasurefor the client-side total bytes sent in request body (not including headers).static final TagKeyTagKeyfor the numeric client-side HTTP response status code (e.g.static final TagKeyTagKeyfor the value of the server-side HTTP host header.static final Measure.MeasureDoubleMeasurefor the server-side time between first byte of request headers received to last byte of response sent, or terminal error.static final TagKeyTagKeyfor the server-side HTTP method of the request, capitalized (GET, POST, etc.).static final TagKeyTagKeyfor the server-side URL path (not including query string) in the request.static final Measure.MeasureLongMeasurefor the server-side total bytes received in request body (not including headers).static final TagKeyTagKeyfor the server-side logical route, a pattern that matched the URL, of a handler that processed the request.static final Measure.MeasureLongMeasurefor the server-side total bytes sent in response bodies (not including headers but including error responses with bodies).static final TagKeyTagKeyfor the numeric server-side HTTP response status code (e.g.private static final Stringprivate static final String -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
UNIT_SIZE_BYTE
- See Also:
-
UNIT_LATENCY_MS
- See Also:
-
HTTP_CLIENT_SENT_BYTES
Measurefor the client-side total bytes sent in request body (not including headers). This is uncompressed bytes.- Since:
- 0.13
-
HTTP_CLIENT_RECEIVED_BYTES
Measurefor the client-side total bytes received in response bodies (not including headers but including error responses with bodies). Should be measured from actual bytes received and read, not the value of the Content-Length header. This is uncompressed bytes. Responses with no body should record 0 for this value.- Since:
- 0.13
-
HTTP_CLIENT_ROUNDTRIP_LATENCY
Measurefor the client-side time between first byte of request headers sent to last byte of response received, or terminal error.- Since:
- 0.13
-
HTTP_SERVER_RECEIVED_BYTES
Measurefor the server-side total bytes received in request body (not including headers). This is uncompressed bytes.- Since:
- 0.13
-
HTTP_SERVER_SENT_BYTES
Measurefor the server-side total bytes sent in response bodies (not including headers but including error responses with bodies). Should be measured from actual bytes written and sent, not the value of the Content-Length header. This is uncompressed bytes. Responses with no body should record 0 for this value.- Since:
- 0.13
-
HTTP_SERVER_LATENCY
Measurefor the server-side time between first byte of request headers received to last byte of response sent, or terminal error.- Since:
- 0.13
-
HTTP_CLIENT_HOST
-
HTTP_SERVER_HOST
-
HTTP_CLIENT_STATUS
-
HTTP_SERVER_STATUS
-
HTTP_CLIENT_PATH
-
HTTP_SERVER_PATH
-
HTTP_CLIENT_METHOD
-
HTTP_SERVER_METHOD
-
HTTP_SERVER_ROUTE
-
-
Constructor Details
-
HttpMeasureConstants
private HttpMeasureConstants()
-