HTTP tap data¶
data.tap.v2alpha.HttpBufferedTrace¶
[data.tap.v2alpha.HttpBufferedTrace proto]
A fully buffered HTTP trace message.
{
"request": "{...}",
"response": "{...}"
}
- request
(data.tap.v2alpha.HttpBufferedTrace.Message) Request message.
- response
(data.tap.v2alpha.HttpBufferedTrace.Message) Response message.
data.tap.v2alpha.HttpBufferedTrace.Message¶
[data.tap.v2alpha.HttpBufferedTrace.Message proto]
HTTP message wrapper.
{
"headers": [],
"body": "{...}",
"trailers": []
}
- headers
(core.HeaderValue) Message headers.
- body
(data.tap.v2alpha.Body) Message body.
- trailers
(core.HeaderValue) Message trailers.
data.tap.v2alpha.HttpStreamedTraceSegment¶
[data.tap.v2alpha.HttpStreamedTraceSegment proto]
A streamed HTTP trace segment. Multiple segments make up a full trace.
{
"trace_id": "...",
"request_headers": "{...}",
"request_body_chunk": "{...}",
"request_trailers": "{...}",
"response_headers": "{...}",
"response_body_chunk": "{...}",
"response_trailers": "{...}"
}
- trace_id
(uint64) Trace ID unique to the originating Envoy only. Trace IDs can repeat and should not be used for long term stable uniqueness.
- request_headers
(core.HeaderMap) Request headers.
Only one of request_headers, request_body_chunk, request_trailers, response_headers, response_body_chunk, response_trailers may be set.
- request_body_chunk
(data.tap.v2alpha.Body) Request body chunk.
Only one of request_headers, request_body_chunk, request_trailers, response_headers, response_body_chunk, response_trailers may be set.
- request_trailers
(core.HeaderMap) Request trailers.
Only one of request_headers, request_body_chunk, request_trailers, response_headers, response_body_chunk, response_trailers may be set.
- response_headers
(core.HeaderMap) Response headers.
Only one of request_headers, request_body_chunk, request_trailers, response_headers, response_body_chunk, response_trailers may be set.
- response_body_chunk
(data.tap.v2alpha.Body) Response body chunk.
Only one of request_headers, request_body_chunk, request_trailers, response_headers, response_body_chunk, response_trailers may be set.
- response_trailers
(core.HeaderMap) Response trailers.
Only one of request_headers, request_body_chunk, request_trailers, response_headers, response_body_chunk, response_trailers may be set.