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-rust monorepo to 0.28.0 #154

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 1, 2024

This PR contains the following updates:

Package Type Update Change
opentelemetry dependencies minor 0.21.0 -> 0.28.0
opentelemetry dependencies minor 0.18.0 -> 0.28.0
opentelemetry-http dependencies minor 0.10.0 -> 0.28.0
opentelemetry-otlp (source) dependencies minor 0.14.0 -> 0.28.0
opentelemetry-otlp (source) dependencies minor 0.11.0 -> 0.28.0
opentelemetry-semantic-conventions (source) dependencies minor 0.13.0 -> 0.28.0
opentelemetry-semantic-conventions (source) dependencies minor 0.10.0 -> 0.28.0
opentelemetry-stdout (source) dependencies minor 0.2.0 -> 0.28.0
opentelemetry_sdk dependencies minor 0.21.1 -> 0.28.0

Release Notes

open-telemetry/opentelemetry-rust (opentelemetry)

v0.28.0: 0.28.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.28.0 for this release).

This release also upgrades

  • Logs API to stable
  • Logs-SDK, Logs OTLP exporter, Logs-Appender-Tracing to RC
  • Metrics-API to stable
  • Metrics-SDK, Metrics OTLP exporter to RC.

This release introduces several breaking changes as we progress toward a stable version for logs and metrics. We recommend reviewing the Migration Guide along with the changelogs to ensure a smooth upgrade.

v0.27.1: patch release

Compare Source

Refer to opentelemetry-sdk CHANGELOG for the changes.

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.

v0.23.0: 0.23.0

Compare Source

Whats changed?

See individual crate changelogs for details.

New Contributors

@​svix-jplatte made their first contribution in https://github.com/open-telemetry/opentelemetry-rust/pull/1568
@​rex4539 made their first contribution in https://github.com/open-telemetry/opentelemetry-rust/pull/1587
@​divergentdave made their first contribution in https://github.com/open-telemetry/opentelemetry-rust/pull/1584
@​pyohannes made their first contribution in https://github.com/open-telemetry/opentelemetry-rust/pull/1578
@​masato-hi made their first contribution in https://github.com/open-telemetry/opentelemetry-rust/pull/1621
@​rogercoll made their first contribution in https://github.com/open-telemetry/opentelemetry-rust/pull/1624
@​LuisOsta made their first contribution in https://github.com/open-telemetry/opentelemetry-rust/pull/1638
@​svrnm made their first contribution in https://github.com/open-telemetry/opentelemetry-rust/pull/1664
@​Lev1ty made their first contribution in https://github.com/open-telemetry/opentelemetry-rust/pull/1672
@​ThomsonTan made their first contribution in https://github.com/open-telemetry/opentelemetry-rust/pull/1675
@​ramgdev made their first contribution in https://github.com/open-telemetry/opentelemetry-rust/pull/1585
@​utpilla made their first contribution in https://github.com/open-telemetry/opentelemetry-rust/pull/1701
@​ChieloNewctle made their first contribution in https://github.com/open-telemetry/opentelemetry-rust/pull/1746

v0.22.0

Compare Source

API
Added
Changed
Removed
SDK
Deprecated
  • XrayIdGenerator in the opentelemetry-sdk has been deprecated and moved to version 0.10.0 of the opentelemetry-aws crate.
Added
  • #​1410 Add experimental synchronous gauge

  • #​1471 Configure batch log record processor via OTEL_BLRP_* environment variables and via OtlpLogPipeline::with_batch_config

  • #​1503 Make the documentation for In-Memory exporters visible.

  • #​1526
    Performance Improvement : Creating Spans and LogRecords are now faster, by avoiding expensive cloning of Resource for every Span/LogRecord.

Changed
  • Breaking
    #​1313
    #​1350
    Changes how Span links/events are stored to achieve performance gains. See
    below for details:

    Behavior Change: When enforcing max_links_per_span, max_events_per_span
    from SpanLimits, links/events are kept in the first-come order. The previous
    "eviction" based approach is no longer performed.

    Breaking Change Affecting Exporter authors:

    SpanData now stores links as SpanLinks instead of EvictedQueue where
    SpanLinks is a struct with a Vec of links and dropped_count.

    SpanData now stores events as SpanEvents instead of EvictedQueue where
    SpanEvents is a struct with a Vec of events and dropped_count.

  • Breaking Remove TextMapCompositePropagator #​1373. Use TextMapCompositePropagator in opentelemetry API.

  • #​1375 Fix metric collections during PeriodicReader shutdown

  • Breaking #​1480 Remove fine grained BatchConfig configurations from BatchLogProcessorBuilder and BatchSpanProcessorBuilder. Use BatchConfigBuilder to construct a BatchConfig instance and pass it using BatchLogProcessorBuilder::with_batch_config or BatchSpanProcessorBuilder::with_batch_config.

  • Breaking #​1480 Remove mutating functions from BatchConfig, use BatchConfigBuilder to construct a BatchConfig instance.

  • Breaking #​1495 Remove Batch LogRecord&Span Processor configuration via non-standard environment variables. Use the following table to migrate from the no longer supported non-standard environment variables to the standard ones.

No longer supported Standard equivalent
OTEL_BLRP_SCHEDULE_DELAY_MILLIS OTEL_BLRP_SCHEDULE_DELAY
OTEL_BLRP_EXPORT_TIMEOUT_MILLIS OTEL_BLRP_EXPORT_TIMEOUT
OTEL_BSP_SCHEDULE_DELAY_MILLIS OTEL_BSP_SCHEDULE_DELAY
OTEL_BSP_EXPORT_TIMEOUT_MILLIS OTEL_BSP_EXPORT_TIMEOUT
  • Breaking 1455 Make the LoggerProvider Owned

    • Logger now takes an Owned Logger instead of a Weak<LoggerProviderInner>
    • LoggerProviderInner is no longer pub (crate)
    • Logger.provider() now returns &LoggerProvider instead of an Option<LoggerProvider>
  • 1519 Performance improvements
    when calling Counter::add() and UpDownCounter::add() with an empty set of attributes
    (e.g. counter.Add(5, &[]))

Fixed
  • #​1481 Fix error message caused by race condition when using PeriodicReader
open-telemetry/opentelemetry-rust (opentelemetry-otlp)

v0.28.0

Compare Source

Released 2025-Feb-10

  • Update opentelemetry dependency version to 0.28.
  • Update opentelemetry_sdk dependency version to 0.28.
  • Update opentelemetry-http dependency version to 0.28.
  • Update opentelemetry-proto dependency version to 0.28.
  • Bump msrv to 1.75.0.
  • Feature flag "populate-logs-event-name" is removed as no longer relevant.
    LogRecord's event_name() is now automatically populated on the newly added
    "event_name" field in LogRecord proto definition.
  • Remove "grpc-tonic" feature from default, and instead add "http-proto" and
    "reqwest-blocking-client" features as default, to align with the
    specification.
    2516
  • Remove unnecessarily public trait opentelemetry_otlp::metrics::MetricsClient
    and MetricExporter::new(..) method. Use
    MetricExporter::builder()...build() to obtain MetricExporter.
  • The HTTP clients (reqwest, reqwest-blocking, hyper) now support the
    export timeout interval configured in below order
    • Signal specific env variable OTEL_EXPORTER_OTLP_TRACES_TIMEOUT,
      OTEL_EXPORTER_OTLP_LOGS_TIMEOUT or OTEL_EXPORTER_OTLP_TIMEOUT.
    • OTEL_EXPORTER_OTLP_TIMEOUT env variable.
    • with_http().with_timeout() API method of
      LogExporterBuilder and SpanExporterBuilder and MetricsExporterBuilder.
    • The default interval of 10 seconds is used if none is configured.

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

v0.16.0

Compare Source

Fixed
  • URL encoded values in OTEL_EXPORTER_OTLP_HEADERS are now correctly decoded. #​1578
  • OTLP exporter will not change the URL added through ExportConfig #​1706
  • Default grpc endpoint will not have path based on signal(e.g /v1/traces) #​1706
  • Fix feature flags for OTEL_EXPORTER_OTLP_PROTOCOL_DEFAULT #​1746
Added
  • Added DeltaTemporalitySelector (#​1568)
  • Add webkpi-roots features to reqwest and tonic backends
Changed
  • Breaking Remove global provider for Logs #​1691
    • The method OtlpLogPipeline::install_simple() and OtlpLogPipeline::install_batch() now return LoggerProvider instead of
      Logger. Refer to the basic-otlp and basic-otlp-http examples for how to initialize OTLP Log Exporter to use with OpenTelemetryLogBridge and OpenTelemetryTracingBridge respectively.
  • Update opentelemetry dependency version to 0.23
  • Update opentelemetry_sdk dependency version to 0.23
  • Update opentelemetry-http dependency version to 0.12
  • Update opentelemetry-proto dependency version to 0.6

v0.15.0

Compare Source

Added
  • Support custom channels in topic exporters #​1335
  • Allow specifying OTLP Tonic metadata from env variable #​1377
Changed
  • Update to tonic 0.11 and prost 0.12 #​1536
Fixed
  • Fix tonic() to the use correct port. #​1556
Removed
  • Breaking Remove support for surf HTTP client #​1537
  • Breaking Remove support for grpcio transport #​1534
open-telemetry/opentelemetry-rust (opentelemetry-semantic-conventions)

v0.28.0

Compare Source

Released 2025-Feb-10

  • Update to v1.29.0 of the semantic conventions.
  • Bump msrv to 1.75.0.

v0.27.0

Compare Source

Released 2024-Nov-11

  • Bump MSRV to 1.70 #​2179
  • Update to v1.28.0 of the 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.

v0.25.0

Compare Source

Changed
  • Starting with this version, this crate will align with opentelemetry crate
    on major,minor versions.
  • Update to v1.27.0 of the semantic conventions.
    #​2000

v0.16.0

Compare Source

Changed
  • Breaking Moved duplicated (and unrelated) attributes from opentelemetry_semantic_conventions::trace and opentelemetry_semantic_conventions::resource into opentelemetry_semantic_conventions::attribute (which now contains all semantic attributes). trace and resource now only contain references to attributes which fall under their respective category.
Added
  • Created opentelemetry_semantic_conventions::metric to store metric semantic conventions.

v0.15.0

Compare Source

Changed

v0.14.0

Compare Source

Changed
  • Breaking Replaced Key constants with &'static str for tracing compatibility
    #​1334
open-telemetry/opentelemetry-rust (opentelemetry-stdout)

v0.28.0

Compare Source

Released 2025-Feb-10

  • Update opentelemetry dependency version to 0.28.
  • Update opentelemetry_sdk dependency version to 0.28.
  • Bump msrv to 1.75.0.
  • Breaking time fields, StartTime and EndTime is printed on aggregation (Sum, Gauge, Histogram, ExpoHistogram) with 2 tabs, previously it was on aggregation data point, with 3 tabs, see #​2377 and #​2411.
  • Removed unused dependency on ordered-float.
  • Feature flag "populate-logs-event-name" is removed as no longer relevant.
    LogRecord's event_name() is now automatically displayed.

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

v0.4.0

Compare Source

Changed
  • The default feature now includes logs, metrics and trace.
  • Update opentelemetry dependency version to 0.23
  • Update opentelemetry_sdk dependency version to 0.23
  • TraceExporter fixed to print InstrumentationScope's attributes.

v0.3.0

Compare Source

Changed
  • Fix StatusCode in stdout exporter #​1454
  • Add missing event timestamps #​1391
  • Adjusted chrono features to reduce number of transitive dependencies. #​1569

Configuration

📅 Schedule: Branch creation - "* 0-3 1 * *" (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.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


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

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

Copy link
Contributor Author

renovate bot commented Nov 1, 2024

⚠️ Artifact update problem

Renovate failed to update artifacts related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path Cargo.toml --workspace
    Updating crates.io index
error: failed to select a version for `opentelemetry`.
    ... required by package `hello-rust-backend v0.3.0 (/tmp/renovate/repos/github/SG60/EventSpider)`
versions that meet the requirements `^0.28.0` are: 0.28.0

the package `hello-rust-backend` depends on `opentelemetry`, with features: `rt-tokio-current-thread` but `opentelemetry` does not have these features.


failed to select a version for `opentelemetry` which could resolve this conflict

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path packages/opentelemetry-tracing-utils/Cargo.toml --workspace
    Updating crates.io index
error: failed to select a version for `opentelemetry`.
    ... required by package `hello-rust-backend v0.3.0 (/tmp/renovate/repos/github/SG60/EventSpider)`
versions that meet the requirements `^0.28.0` are: 0.28.0

the package `hello-rust-backend` depends on `opentelemetry`, with features: `rt-tokio-current-thread` but `opentelemetry` does not have these features.


failed to select a version for `opentelemetry` which could resolve this conflict

@renovate renovate bot force-pushed the renovate/opentelemetry-rust-monorepo branch from 0422c61 to d2eb359 Compare November 12, 2024 01:17
@renovate renovate bot changed the title fix(deps): update opentelemetry-rust monorepo to 0.26.0 fix(deps): update opentelemetry-rust monorepo to 0.27.0 Nov 12, 2024
@renovate renovate bot force-pushed the renovate/opentelemetry-rust-monorepo branch from d2eb359 to eeef932 Compare February 10, 2025 20:58
@renovate renovate bot changed the title fix(deps): update opentelemetry-rust monorepo to 0.27.0 fix(deps): update opentelemetry-rust monorepo to 0.28.0 Feb 10, 2025
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