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

chore(deps): update opentelemetry #2353

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 22, 2024

This PR contains the following updates:

Package Type Update Change
opentelemetry dependencies minor 0.23.0 -> 0.27.0
opentelemetry-otlp (source) dependencies minor 0.16.0 -> 0.27.0
opentelemetry-stdout (source) dependencies minor 0.4.0 -> 0.27.0
opentelemetry_sdk dependencies minor 0.23.0 -> 0.27.0
tracing-opentelemetry dependencies minor 0.24.0 -> 0.28.0

Release Notes

open-telemetry/opentelemetry-rust (opentelemetry)

v0.27.0: 0.27.0 Release

Compare Source

See changelog for individual crates to know the exact set of changes. All crates in this repo follows same version (0.27.0 for this release).

This release also upgrades

  • Logs API to RC
  • Metrics API to RC
  • Metrics SDK to Beta
  • Metrics OTLP Exporter to Beta.

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.

v0.25.0: OpenTelemetry 0.25.0 Release

Compare Source

See changelog for individual crates to know the exact set of changes. This release onwards, all crates from this repo follows same version (0.25.0 for today's release).

v0.24.0

Compare Source

See individual crate changelogs for details.

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

v0.27.0

Compare Source

Released 2024-Nov-11

  • Update opentelemetry dependency version to 0.27

  • Update opentelemetry_sdk dependency version to 0.27

  • Update opentelemetry-http dependency version to 0.27

  • Update opentelemetry-proto dependency version to 0.27

  • 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(opentelemetry_sdk::metrics::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_resource(RESOURCE.clone())
        .with_exporter(
            opentelemetry_otlp::new_exporter()
                .tonic()
                .with_endpoint("http://localhost:4317")
        )
        .install_batch(runtime::Tokio)?;

      Updated Signature:

      let exporter = LogExporter::builder()
          .with_tonic()
          .with_endpoint("http://localhost:4317")
          .build()?;
      
      Ok(LoggerProvider::builder()
          .with_resource(RESOURCE.clone())
          .with_batch_exporter(exporter, runtime::Tokio)
          .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

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

v0.25.0

Compare Source

  • Update opentelemetry dependency version to 0.25
  • Update opentelemetry_sdk dependency version to 0.25
  • Update opentelemetry-http dependency version to 0.25
  • Update opentelemetry-proto dependency version to 0.25
  • Starting with this version, this crate will align with opentelemetry crate
    on major,minor versions.
  • Breaking
    The logrecord event-name is added as an attribute only if the feature flag
    populate-logs-event-name is enabled. The name of the attribute is changed from
    "name" to "event.name".
    1994,
    2050

v0.17.0

Compare Source

  • Add "metrics", "logs" to default features. With this, default feature list is
    "trace", "metrics" and "logs".
  • Breaking OtlpMetricPipeline.build() no longer invoke the
    global::set_meter_provider. User who setup the pipeline must do it
    themselves using global::set_meter_provider(meter_provider.clone());.
  • Add with_resource on OtlpLogPipeline, replacing the with_config method.
    Instead of using
    .with_config(Config::default().with_resource(RESOURCE::default())) users must
    now use .with_resource(RESOURCE::default()) to configure Resource when using
    OtlpLogPipeline.
  • Breaking The methods OtlpTracePipeline::install_simple() and OtlpTracePipeline::install_batch() would now return TracerProvider instead of Tracer.
    These methods would also no longer set the global tracer provider. It would now be the responsibility of users to set it by calling global::set_tracer_provider(tracer_provider.clone());. Refer to the basic-otlp and basic-otlp-http examples on how to initialize OTLP Trace Exporter.
  • Breaking Correct the misspelling of "webkpi" to "webpki" in features #​1842
  • Bump MSRV to 1.70 #​1840
  • Fixing the OTLP HTTP/JSON exporter. #​1882 - The exporter was broken in the
    previous release.
  • Breaking 1869 The OTLP logs exporter now overrides the InstrumentationScope::name field with the target from LogRecord, if target is populated.
  • Groups batch of LogRecord and Span by their resource and instrumentation scope before exporting, for better efficiency #​1873.
  • Breaking Update to http v1 and tonic v0.12 #​1674
  • Update opentelemetry dependency version to 0.24
  • Update opentelemetry_sdk dependency version to 0.24
  • Update opentelemetry-http dependency version to 0.13
  • Update opentelemetry-proto dependency version to 0.7
open-telemetry/opentelemetry-rust (opentelemetry-stdout)

v0.27.0

Compare Source

Released 2024-Nov-11

  • Update opentelemetry dependency version to 0.27

  • Update opentelemetry_sdk dependency version to 0.27

  • Bump MSRV to 1.70 #​2179

  • BREAKING

    • Replaced
      • (#​2217): 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(opentelemetry_sdk::metrics::Temporality::Delta)
    • Renamed
      • (#​2255): de-pluralize Metric types.
        • MetricsExporter -> MetricExporter
        • MetricsExporterBuilder -> MetricExporterBuilder

v0.26.0

Compare Source

Released 2024-Sep-30

  • Update opentelemetry dependency version to 0.26
  • Update opentelemetry_sdk dependency version to 0.26

v0.25.0

Compare Source

  • Update opentelemetry dependency version to 0.25
  • Update opentelemetry_sdk dependency version to 0.25
  • Starting with this version, this crate will align with opentelemetry crate
    on major,minor versions.
  • Breaking 1994 The logrecord event-name is added as attribute with
    key name only if the feature flag populate-logs-event-name is enabled.
  • Breaking 2040 Simplified stdout exporter:
    • Now only supports writing to stdout, removing ability to send telemetry to other streams.
    • Output format improved for better human readability.
    • Note: This exporter is intended for learning and debugging purposes only. Not recommended for production use or automated parsing.

v0.5.0

Compare Source

  • Update opentelemetry dependency version to 0.24
  • Update opentelemetry_sdk dependency version to 0.24
tokio-rs/tracing-opentelemetry (tracing-opentelemetry)

v0.28.0: 0.28.0

Compare Source

What's Changed

v0.27.0

Compare Source

Breaking Changes
  • Upgrade to opentelemetry 0.26. Refer to the upstream
    changelog
    for more information.

v0.26.0

Compare Source

Breaking Changes
  • Upgrade to opentelemetry 0.25. Refer to the upstream
    changelog
    for more information.

v0.25.0

Compare Source

Breaking Changes
  • Upgrade to opentelemetry 0.24. Refer to the upstream
    changelog
    for more information.
Fixed
  • Invalidate sample decision on set parent (#​153)
  • chore: fix on_close() comment (#​148)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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 force-pushed the renovate/opentelemetry branch 2 times, most recently from 38543bf to 68557be Compare September 10, 2024 00:30
@renovate renovate bot changed the title chore(deps): update opentelemetry chore(deps): update opentelemetry to 0.25.0 Sep 10, 2024
@renovate renovate bot changed the title chore(deps): update opentelemetry to 0.25.0 chore(deps): update opentelemetry Sep 10, 2024
@renovate renovate bot changed the title chore(deps): update opentelemetry chore(deps): update opentelemetry to 0.26.0 Oct 2, 2024
@renovate renovate bot changed the title chore(deps): update opentelemetry to 0.26.0 chore(deps): update opentelemetry Oct 9, 2024
@renovate renovate bot changed the title chore(deps): update opentelemetry chore(deps): update opentelemetry to 0.27.0 Nov 12, 2024
@renovate renovate bot changed the title chore(deps): update opentelemetry to 0.27.0 chore(deps): update opentelemetry Nov 13, 2024
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.

0 participants