Class HttpRequestContext
java.lang.Object
io.opencensus.contrib.http.HttpRequestContext
This class provides storage per request context on http client and server.
- Since:
- 0.19
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final long(package private) static final TagMetadata(package private) AtomicLong(package private) AtomicLong(package private) final long(package private) AtomicLong(package private) AtomicLong(package private) final Span(package private) final TagContext -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
INVALID_STARTTIME
static final long INVALID_STARTTIME- See Also:
-
METADATA_NO_PROPAGATION
-
requestStartTime
final long requestStartTime -
span
-
sentMessageSize
AtomicLong sentMessageSize -
receiveMessageSize
AtomicLong receiveMessageSize -
sentSeqId
AtomicLong sentSeqId -
receviedSeqId
AtomicLong receviedSeqId -
tagContext
-
-
Constructor Details
-
HttpRequestContext
HttpRequestContext(Span span, TagContext tagContext)
-