linkerd2-proxy/tests
Oliver Gould 5e0a15b8a7
Introduce outbound route metrics (#117)
The Destination Profile API---provided by linkerd2-proxy-api v0.1.3--
allows the proxy to discovery route information for an HTTP service. As
the proxy processes outbound requests, in addition to doing address
resolution through the Destination service, the proxy may also discover
profiles including route patterns and labels.

When the proxy has route information for a destination, it applies the
RequestMatch for each route to find the first-matching route. The
route's labels are used to expose `route_`-prefixed HTTP metrics (and
each label is prefixed with `rt_`).

Furthermore, if a route includes ResponseMatches, they are used to
perform classification (i.e. for the `response_total` and
`route_response_total` metrics).

A new `proxy::http::profiles` module implements a router that consumes
routes from an infinite stream of route lists.

The `app::profiles` module implements a client that continually and
repeatedly tries to establish a watch for the destination's routes (with
some backoff).

Route discovery does not _block_ routing; that is, the first request to
a destination will likely be processed before the route information is
retrieved from the controller (i.e. on the default route). Route
configuration is applied in a best-effort fashion.
2018-11-05 16:30:39 -08:00
..
support Introduce outbound route metrics (#117) 2018-11-05 16:30:39 -08:00
discovery.rs refactor: Structure the proxy in terms of `Stack` (#100) 2018-10-11 11:25:03 -07:00
shutdown.rs Migrate `conduit-proxy` to `linkerd2-proxy` 2018-07-07 22:45:21 +00:00
telemetry.rs Only use the classification label for response_total (#116) 2018-11-01 14:59:44 -07:00
transparency.rs strip other connection-level headers from HTTP/1 (#43) 2018-08-07 11:00:42 -07:00