Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

opentelemetry: backport update otel to 0.18.0 #2309

Merged
merged 3 commits into from Sep 16, 2022

Conversation

jtescher
Copy link
Collaborator

Backport #2303 into v0.1.x

## Motivation

Support the latest OpenTelemetry specification.

## Solution

Update `opentelemetry` to the latest `0.18.x` release. Breaking changes
in the metrics spec have removed value recorders and added histograms so
the metrics layer's `value.` prefix has been changed to `histogram.` and
behaves accordingly. Additionally the `PushController` configuration for
the metrics layer has been simplified to accept a `BasicController` that
can act in either push or pull modes. Finally trace sampling in the
sdk's `PreSampledTracer` impl has been updated to match the sampling
logic in open-telemetry/opentelemetry-rust#839.

* Update MSRV to 1.56
* Update examples
* Fix async-trait dep
# Conflicts:
#	.github/workflows/CI.yml
#	tracing-opentelemetry/Cargo.toml
#	tracing-opentelemetry/src/layer.rs
#	tracing-opentelemetry/src/metrics.rs
#	tracing-opentelemetry/tests/metrics_publishing.rs
@jtescher jtescher added the crate/opentelemetry Related to the `tracing-opentelemetry` crate. label Sep 16, 2022
@jtescher jtescher requested review from a team and hawkw as code owners September 16, 2022 17:53
Copy link
Member

@hawkw hawkw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI warnings job is only failing because of rust-lang/rust#101844, so I think this looks good to me!

@hawkw hawkw enabled auto-merge (squash) September 16, 2022 20:24
@hawkw hawkw merged commit 10a4b13 into v0.1.x Sep 16, 2022
@hawkw hawkw deleted the jtescher/backport-update-otel branch September 16, 2022 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crate/opentelemetry Related to the `tracing-opentelemetry` crate.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants