this commit modifies the workspace manifest, defining tonic and
tonic-build as common workspace dependencies.
no changes to the lockfile are made because this commit does not affect
the dependency graph of the project.
* linkerd/linkerd2#8733
Signed-off-by: katelyn martin <kate@buoyant.io>
OpenCensus is a deprecated protocol and is slated to be removed from upstream collectors soon.
This wires up the proxy to optionally use OpenTelmetry as the format for exported traces. Currently, this defaults to the existing OpenCensus exporter, and we can switch the default later.
[#10111](linkerd/linkerd2#10111)
Signed-off-by: Scott Fleener <scott@buoyant.io>
This branch updates `tonic` (and `tonic-build`) to v0.8, `prost` (and
`prost-types`) to v0.11, and `linkerd2-proxy-api` to v0.7.
Unfortunately, the current approach of regenerating protobuf generated
code in tests does not work in cases where there's a breaking change in
`tonic` that breaks compatibility with protos compiled by the previous
version. The crate itself needs to be compiled before its tests are
compiled, and if the crate doesn't build, the tests won't run.
Therefore, I've also added a little script in a crate *outside* the
`opencensus-proto` crate that can be run to manually rebuild the
generated code, for cases like this.
Closes#1873
Signed-off-by: Eliza Weisman <eliza@buoyant.io>