Commit Graph

4 Commits

Author SHA1 Message Date
katelyn martin 5687faa6cf chore(deps): define tonic, tonic-build as workspace dependencies (#3473)
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>
2024-12-19 14:20:52 -05:00
Scott Fleener 3130e3c08a Integrate OpenTelemetry into the proxy
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>
2024-10-01 10:49:35 -04:00
Oliver Gould c329541956
deps: Update tokio, tonic, and prost (#2544)
* tokio 1.34
* tonic 0.10
* prost 0.12
* linkerd2-proxy-api 0.12 (linkerd/linkerd2-proxy-api#269)
2023-12-04 12:42:58 -08:00
Eliza Weisman f336b2a9d3
chore: update `tonic`, `prost`, and `proxy-api` (#1868)
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>
2022-08-05 10:00:40 -07:00