linkerd2/web
Kevin Leimkuhler a3a240e0ef
Add TapEvent headers and trailers to the tap protobuf (#3410)
### Motivation

In order to expose arbitrary headers through tap, headers and trailers should be
read from the linkerd2-proxy-api `TapEvent`s and set in the public `TapEvent`s.
This change should have no user facing changes as it just prepares the events
for JSON output in linkerd/linkerd2#3390

### Solution

The public API has been updated with a headers field for
`TapEvent_Http_RequestInit_` and `TapEvent_Http_ResponseInit_`, and trailers
field for `TapEvent_Http_ResponseEnd_`.

These values are set by reading the corresponding fields off of the proxy's tap
events.

The proto changes are equivalent to the proto changes proposed in
linkerd/linkerd2-proxy-api#33

Closes #3262

Signed-off-by: Kevin Leimkuhler <kleimkuhler@icloud.com>
2019-09-29 09:54:37 -07:00
..
app Dashboard sidebar redesign (#3467) 2019-09-25 16:54:11 -07:00
srv Revert "Trace Control Plane components using OC (#3461)" (#3484) 2019-09-26 11:56:44 -07:00
templates Remove single namespace functionality (#2474) 2019-03-12 00:17:22 -07:00
Dockerfile Add TapEvent headers and trailers to the tap protobuf (#3410) 2019-09-29 09:54:37 -07:00
main.go Revert "Trace Control Plane components using OC (#3461)" (#3484) 2019-09-26 11:56:44 -07:00