HTTP tap data

data.tap.v2alpha.HttpBufferedTrace

[data.tap.v2alpha.HttpBufferedTrace proto]

A fully buffered HTTP trace message.

  1. {
  2. "request": "{...}",
  3. "response": "{...}"
  4. }

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.

  1. {
  2. "headers": [],
  3. "body": "{...}",
  4. "trailers": []
  5. }

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.

  1. {
  2. "trace_id": "...",
  3. "request_headers": "{...}",
  4. "request_body_chunk": "{...}",
  5. "request_trailers": "{...}",
  6. "response_headers": "{...}",
  7. "response_body_chunk": "{...}",
  8. "response_trailers": "{...}"
  9. }

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.