public final class HttpMeasureConstants extends Object
Measures and TagKeys.
Measures and TagKeys in this class are all public for other
libraries/frameworks to reference and use.
| Modifier and Type | Field and Description |
|---|---|
static io.opencensus.tags.TagKey |
HTTP_CLIENT_HOST
TagKey for the value of the client-side HTTP host header. |
static io.opencensus.tags.TagKey |
HTTP_CLIENT_METHOD
TagKey for the client-side HTTP method of the request, capitalized (GET, POST, etc.). |
static io.opencensus.tags.TagKey |
HTTP_CLIENT_PATH
TagKey for the client-side URL path (not including query string) in the request. |
static io.opencensus.stats.Measure.MeasureLong |
HTTP_CLIENT_RECEIVED_BYTES
Measure for the client-side total bytes received in response bodies (not including
headers but including error responses with bodies). |
static io.opencensus.stats.Measure.MeasureDouble |
HTTP_CLIENT_ROUNDTRIP_LATENCY
Measure for the client-side time between first byte of request headers sent to last
byte of response received, or terminal error. |
static io.opencensus.stats.Measure.MeasureLong |
HTTP_CLIENT_SENT_BYTES
Measure for the client-side total bytes sent in request body (not including headers). |
static io.opencensus.tags.TagKey |
HTTP_CLIENT_STATUS
TagKey for the numeric client-side HTTP response status code (e.g. |
static io.opencensus.tags.TagKey |
HTTP_SERVER_HOST
TagKey for the value of the server-side HTTP host header. |
static io.opencensus.stats.Measure.MeasureDouble |
HTTP_SERVER_LATENCY
Measure for the server-side time between first byte of request headers received to last
byte of response sent, or terminal error. |
static io.opencensus.tags.TagKey |
HTTP_SERVER_METHOD
TagKey for the server-side HTTP method of the request, capitalized (GET, POST, etc.). |
static io.opencensus.tags.TagKey |
HTTP_SERVER_PATH
TagKey for the server-side URL path (not including query string) in the request. |
static io.opencensus.stats.Measure.MeasureLong |
HTTP_SERVER_RECEIVED_BYTES
Measure for the server-side total bytes received in request body (not including
headers). |
static io.opencensus.tags.TagKey |
HTTP_SERVER_ROUTE
TagKey for the server-side logical route, a pattern that matched the URL, of a handler
that processed the request. |
static io.opencensus.stats.Measure.MeasureLong |
HTTP_SERVER_SENT_BYTES
Measure for the server-side total bytes sent in response bodies (not including headers
but including error responses with bodies). |
static io.opencensus.tags.TagKey |
HTTP_SERVER_STATUS
TagKey for the numeric server-side HTTP response status code (e.g. |
public static final io.opencensus.stats.Measure.MeasureLong HTTP_CLIENT_SENT_BYTES
Measure for the client-side total bytes sent in request body (not including headers).
This is uncompressed bytes.public static final io.opencensus.stats.Measure.MeasureLong HTTP_CLIENT_RECEIVED_BYTES
Measure for 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.public static final io.opencensus.stats.Measure.MeasureDouble HTTP_CLIENT_ROUNDTRIP_LATENCY
Measure for the client-side time between first byte of request headers sent to last
byte of response received, or terminal error.public static final io.opencensus.stats.Measure.MeasureLong HTTP_SERVER_RECEIVED_BYTES
Measure for the server-side total bytes received in request body (not including
headers). This is uncompressed bytes.public static final io.opencensus.stats.Measure.MeasureLong HTTP_SERVER_SENT_BYTES
Measure for 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.public static final io.opencensus.stats.Measure.MeasureDouble HTTP_SERVER_LATENCY
Measure for the server-side time between first byte of request headers received to last
byte of response sent, or terminal error.public static final io.opencensus.tags.TagKey HTTP_CLIENT_HOST
TagKey for the value of the client-side HTTP host header.public static final io.opencensus.tags.TagKey HTTP_SERVER_HOST
TagKey for the value of the server-side HTTP host header.public static final io.opencensus.tags.TagKey HTTP_CLIENT_STATUS
TagKey for the numeric client-side HTTP response status code (e.g. 200, 404, 500). If a
transport error occurred and no status code was read, use "error" as the TagValue.public static final io.opencensus.tags.TagKey HTTP_SERVER_STATUS
TagKey for the numeric server-side HTTP response status code (e.g. 200, 404, 500). If a
transport error occurred and no status code was written, use "error" as the TagValue.public static final io.opencensus.tags.TagKey HTTP_CLIENT_PATH
TagKey for the client-side URL path (not including query string) in the request.public static final io.opencensus.tags.TagKey HTTP_SERVER_PATH
TagKey for the server-side URL path (not including query string) in the request.public static final io.opencensus.tags.TagKey HTTP_CLIENT_METHOD
TagKey for the client-side HTTP method of the request, capitalized (GET, POST, etc.).public static final io.opencensus.tags.TagKey HTTP_SERVER_METHOD
TagKey for the server-side HTTP method of the request, capitalized (GET, POST, etc.).public static final io.opencensus.tags.TagKey HTTP_SERVER_ROUTE
TagKey for the server-side logical route, a pattern that matched the URL, of a handler
that processed the request.