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

fix(deps): update opentelemetry #63

Merged
merged 3 commits into from
Nov 5, 2024
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 7, 2024

This PR contains the following updates:

Package Type Update Change
opentelemetry dependencies minor 0.25 -> 0.26
opentelemetry-http dependencies minor 0.25 -> 0.26
opentelemetry-otlp (source) dependencies minor 0.25 -> 0.26
opentelemetry-semantic-conventions (source) dependencies minor 0.25 -> 0.26
opentelemetry-zipkin (source) dependencies minor 0.25 -> 0.26
opentelemetry_sdk dependencies minor 0.25 -> 0.26
tracing-opentelemetry dependencies minor 0.26 -> 0.27
tracing-opentelemetry-instrumentation-sdk (source) dependencies minor 0.21 -> 0.23

Release Notes

open-telemetry/opentelemetry-rust (opentelemetry)

v0.26.0: 0.26.0 Release

Compare Source

See changelog for individual crates to know the exact set of changes. As informed during previous release, all crates from this repo follows same version (0.26.0 for this release).
This release also upgrades Metric API (part of opentelemetry crate) from alpha to beta.

open-telemetry/opentelemetry-rust (opentelemetry-otlp)

v0.26.0

Compare Source

Released 2024-Sep-30

  • Update opentelemetry dependency version to 0.26
  • Update opentelemetry_sdk dependency version to 0.26
  • Update opentelemetry-http dependency version to 0.26
  • Update opentelemetry-proto dependency version to 0.26
  • Bump MSRV to 1.71.1 2140
  • BREAKING:
    • (#​2217) Replaced: The MetricsExporterBuilder interface is modified from with_temporality_selector to with_temporality example can be seen below:
      Previous Signature:

      MetricsExporterBuilder::default().with_temporality_selector(DeltaTemporalitySelector::new())

      Updated Signature:

      MetricsExporterBuilder::default().with_temporality(Temporality::Delta)
    • (#​2221) Replaced:

      • The opentelemetry_otlp::new_pipeline().{trace,logging,metrics}() interface is now replaced with {TracerProvider,SdkMeterProvider,LoggerProvider}::builder().
      • The opentelemetry_otlp::new_exporter() interface is now replaced with {SpanExporter,MetricsExporter,LogExporter}::builder().

      Pull request #​2221 has a detailed migration guide in the description. See example below,
      and basic-otlp for more details:

      Previous Signature:

      let logger_provider: LoggerProvider = opentelemetry_otlp::new_pipeline()
        .logging()
        .with_exporter(
            opentelemetry_otlp::new_exporter()
                .tonic()
                .with_endpoint("http://localhost:4317")
        )
        .install_batch(runtime::Tokio)?;

      Updated Signature:

      let logger_provider: LoggerProvider = LoggerProvider::builder()
        .install_batch_exporter(
            LogExporter::builder()
                .with_tonic()
                .with_endpoint("http://localhost:4317")
                .build()?,
        ).build();
    • Renamed

      • (#​2255): de-pluralize Metric types.
        • MetricsExporter -> MetricExporter
        • MetricsExporterBuilder -> MetricExporterBuilder
    • #​2263
      Support hyper client for opentelemetry-otlp. This can be enabled using flag hyper-client.
      Refer example: https://github.com/open-telemetry/opentelemetry-rust/tree/main/opentelemetry-otlp/examples/basic-otlp-http

open-telemetry/opentelemetry-rust (opentelemetry-semantic-conventions)

v0.26.0

Compare Source

Released 2024-Sep-30

Changed
  • Starting with this version, this crate will use Weaver for the generation of
    the semantic conventions.
  • Breaking Introduced a new feature semconv_experimental to enable experimental semantic conventions.
    This feature is disabled by default.
open-telemetry/opentelemetry-rust (opentelemetry-zipkin)

v0.26.0

Compare Source

Released 2024-Sep-30

  • Update opentelemetry dependency version to 0.26
  • Update opentelemetry_sdk dependency version to 0.26
  • Update opentelemetry-http dependency version to 0.26
  • Update opentelemetry-semantic-conventions dependency version to 0.26
tokio-rs/tracing-opentelemetry (tracing-opentelemetry)

v0.27.0

Compare Source

Breaking Changes
  • Upgrade to opentelemetry 0.26. Refer to the upstream
    changelog
    for more information.
davidB/tracing-opentelemetry-instrumentation-sdk (tracing-opentelemetry-instrumentation-sdk)

v0.23.0

Compare Source

Fixed
  • 🐛 workaround for a delay, batch,... behavior in otlp exporter and test with fake-opentelemetry-collector (closed too early)
  • 🐛 fix build of contributions (upgrade of opentelemetry, fake collector for logs,...)
  • 🐛 Re-export tracing_level_info feature from axum to sdk (#​147)
Changed
  • 💄 update deprecated syntax "default_features" in Cargo.toml
  • ⬆️ upgrade to rstest 0.22

Configuration

📅 Schedule: Branch creation - "before 4am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot changed the title fix(deps): update opentelemetry to 0.26 fix(deps): update opentelemetry Oct 9, 2024
Copy link
Contributor Author

renovate bot commented Nov 5, 2024

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@lbeschastny lbeschastny merged commit 9ba6249 into main Nov 5, 2024
2 checks passed
@lbeschastny lbeschastny deleted the renovate/opentelemetry branch November 5, 2024 14:34
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.

1 participant