A purpose-built proxy for the Linkerd service mesh. Written in Rust.
Go to file
Eliza Weisman d6cd34fc98 Add Protocol field to Transports telemetry (#138)
See #132. This PR adds a protocol field to the ClientTransport and ServerTransport messages, and modifies the proxy to report a value for this field (currently, it's only ever HTTP).

Currently, HTTP/1 and HTTP/2 are collapsed into one Protocol variant, see #132 (comment). I expect that we can treat H1 as a subset of H2 as far as metrics goes.

Note that after discussing it with @klingerf, I learned that the control plane telemetry API currently does not do anything with the ClientTransport and ServerTransport messages, so beyond regenerating the protobuf-generated code, no controller changes were actually necessary. As we actually add metrics to TCP transports, we'll want to make some additions to the telemetry API to ingest these metrics. If any metrics are shared between HTTP and raw TCP transports (say, bytes sent), we'll want to differentiate between them in Prometheus. All the metrics that the control plane currently ingests from telemetry reports are likely to be HTTP-specific (requests, responses, response latencies), or at least, do not apply to raw TCP.

Actually adding metrics to raw TCP transports will probably have to wait until there are raw TCP transports implemented in the proxy...

Signed-off-by: Eliza Weisman <eliza@buoyant.io>
2018-01-11 16:00:38 -08:00
codegen Prepare the repo for the v0.1.1 release (#75) 2017-12-20 10:51:53 -08:00
futures-mpsc-lossy apply rustffmt on proxy, remove rustfmt.toml for now 2017-12-05 00:44:16 +00:00
proxy Add Protocol field to Transports telemetry (#138) 2018-01-11 16:00:38 -08:00
tower-grpc Prepare the repo for the v0.1.1 release (#75) 2017-12-20 10:51:53 -08:00
tower-grpc-build Prepare the repo for the v0.1.1 release (#75) 2017-12-20 10:51:53 -08:00
tower-grpc-examples Prepare the repo for the v0.1.1 release (#75) 2017-12-20 10:51:53 -08:00
tower-h2 Prepare the repo for the v0.1.1 release (#75) 2017-12-20 10:51:53 -08:00
tower-router Prepare the repo for the v0.1.1 release (#75) 2017-12-20 10:51:53 -08:00
CONTRIBUTING.md Add contributing doc and DCO file (#88) 2017-12-22 14:54:27 -08:00
Cargo.lock Fix Go and Proxy dependency image SHAs (#117) 2018-01-08 11:19:49 -08:00
Cargo.toml Introducing Conduit, the ultralight service mesh 2017-12-05 00:24:55 +00:00
DCO Add contributing doc and DCO file (#88) 2017-12-22 14:54:27 -08:00
LICENSE Introducing Conduit, the ultralight service mesh 2017-12-05 00:24:55 +00:00