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 #3683

Closed
wants to merge 1 commit into from
Closed

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 25, 2024

Mend Renovate

This PR contains the following updates:

Package Type Update Change
opentelemetry workspace.dependencies minor 0.21.0 -> 0.22.0
opentelemetry-otlp (source) workspace.dependencies minor 0.14.0 -> 0.15.0
opentelemetry_sdk workspace.dependencies minor 0.21.0 -> 0.22.0
tracing-opentelemetry workspace.dependencies minor 0.22.0 -> 0.23.0

Release Notes

open-telemetry/opentelemetry-rust (opentelemetry)

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.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
tokio-rs/tracing-opentelemetry (tracing-opentelemetry)

v0.23.0

Compare Source

Breaking Changes
  • Upgrade to opentelemetry 0.22. Refer to the upstream
    changelog
    for more information. In particular, i64 histograms will silently downgrade to
    key/value exports.

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 has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/opentelemetry branch from 8f653b0 to a595405 Compare February 28, 2024 15:09
@djc
Copy link
Contributor

djc commented Feb 29, 2024

This is blocked on tokio-rs/tracing-opentelemetry#100.

@rbtcollins
Copy link
Contributor

@djc we should group them together in renovate.json if we haven't already

@djc
Copy link
Contributor

djc commented Feb 29, 2024

IIRC we did? But maybe we missed the tracing integration.

@renovate renovate bot force-pushed the renovate/opentelemetry branch 2 times, most recently from 1b02f06 to 6c143ce Compare March 4, 2024 01:44
@rami3l
Copy link
Member

rami3l commented Mar 4, 2024

IIRC we did? But maybe we missed the tracing integration.

@djc I just checked, the following config being a regex pattern in itself won't prevent us from a proper upgrade:

{
"matchPackagePatterns": [
"opentelemetry"
],
"groupName": "opentelemetry"
}

We just need to wait for tracing-opentelemetry to cut a new release (cf. #3441).

@renovate renovate bot force-pushed the renovate/opentelemetry branch from 6c143ce to c658eab Compare March 5, 2024 12:34
@rami3l rami3l mentioned this pull request Mar 5, 2024
@djc
Copy link
Contributor

djc commented Mar 5, 2024

Superseded by #3694.

@djc djc closed this Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants