Skip to content

Upgrade opentelemetry to 0.18.0#1970

Merged
BrynCooke merged 73 commits intodevfrom
bryn/otel-upgrade
Dec 9, 2022
Merged

Upgrade opentelemetry to 0.18.0#1970
BrynCooke merged 73 commits intodevfrom
bryn/otel-upgrade

Conversation

@BrynCooke
Copy link
Contributor

@BrynCooke BrynCooke commented Oct 19, 2022

Deal with all the changes in APIs from the OtelUpgrade and other miscellaneous improvements.

  1. Metrics have changed significantly. Traits have been introduced, so we can now have cleaner integration otel and expose a regular Meter even though we are aggregating under the hood.

  2. We can't actually update yet as we need build_exporter for opentelemetry-jaeger CollectorPipeline open-telemetry/opentelemetry-rust#894 to land in a release. The ability to send spans to multiple exporters has been removed accidentally from JaegerCollector.

Closes #1948

  • Update opentelemetry
  • Refactor metrics
  • Remove spaceport
  • Otel config errors are only logged once.
  • Otel traces are not sent if tracesIgnored is detected.

Deal with all the changes in APIs.

1. Metrics have changed significantly. Traits have been introduced, so we can now have cleaner integration otel and expose a regular Meter even though we are aggregating under the hood.

2. We can't actually update yet as we need open-telemetry/opentelemetry-rust#894 to land in a release. The ability to send spans to multiple exporters has been removed accidentally from JaegerCollector.
@github-actions

This comment has been minimized.

@BrynCooke BrynCooke force-pushed the bryn/otel-upgrade branch 6 times, most recently from 9455d02 to aa17ac8 Compare October 20, 2022 09:17
bryn added 5 commits October 20, 2022 10:32
Note that it is the otel_layer that converts otel.kind to an enum, and it is case-insensitive, so the snaps are correct.
@BrynCooke BrynCooke force-pushed the bryn/otel-upgrade branch 2 times, most recently from 41eab1d to 86c5a79 Compare October 20, 2022 11:56
@BrynCooke BrynCooke marked this pull request as ready for review October 20, 2022 12:14
@BrynCooke BrynCooke requested review from a team, bnjjj and garypen and removed request for a team October 20, 2022 12:14
@bazaglia
Copy link

bazaglia commented Dec 8, 2022

Are there plans to get this merged soon? I build with Bazel that relies on all dependencies to be predicted/provided to the build for hermeticity and this update to the opentelemetry library fixes a complex build.rs - my build only succeeds when using this branch with the updated opentelemetry to 0.18.0.

@BrynCooke
Copy link
Contributor Author

@bazaglia The issue has been that the latest otel release broke our Jager integration and there hasn't been another release since. I just figured out a workaround though so maybe we can get this over the line.

@BrynCooke BrynCooke linked an issue Dec 8, 2022 that may be closed by this pull request
Added docs for batch_processor
Added changelog.
@BrynCooke BrynCooke linked an issue Dec 8, 2022 that may be closed by this pull request
@BrynCooke BrynCooke marked this pull request as ready for review December 8, 2022 13:52
@BrynCooke BrynCooke requested a review from bnjjj December 8, 2022 17:32
@BrynCooke BrynCooke enabled auto-merge (squash) December 9, 2022 10:13
@BrynCooke BrynCooke merged commit 9313771 into dev Dec 9, 2022
@BrynCooke BrynCooke deleted the bryn/otel-upgrade branch December 9, 2022 10:44
@BrynCooke BrynCooke added this to the v1.6.0 milestone Dec 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove spaceport Introduce configuration of batch span processor Upgrade otel

4 participants