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

Bump the opentelemetry group with 3 updates #799

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 28, 2024

Updates the requirements on opentelemetry, opentelemetry_sdk and opentelemetry-stdout to permit the latest version.
Updates opentelemetry to 0.22.0

Release notes

Sourced from opentelemetry's releases.

v0.22.0

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.

... (truncated)

Commits

Updates opentelemetry_sdk to 0.22.1

Release notes

Sourced from opentelemetry_sdk's releases.

0.22.1 of OpenTelemetry sdk

Fixed open-telemetry/opentelemetry-rust#1576 Fix Span kind is always set to "internal".

Commits

Updates opentelemetry-stdout to 0.3.0

Release notes

Sourced from opentelemetry-stdout's releases.

v0.3.0

Added

  • New Base64 propagator
  • New SpanBuilder api
  • Zipkin Exporter crate

Changed

  • Switch to SpanId and TraceId from u64 and u128
  • Remove &mut self requirements for Span API

Fixed

  • circular Tracer debug impl
Changelog

Sourced from opentelemetry-stdout's changelog.

v0.3.0

Added

  • New Base64 propagator
  • New SpanBuilder api
  • Zipkin Exporter crate

Changed

  • Switch to SpanId and TraceId from u64 and u128
  • Remove &mut self requirements for Span API

Fixed

  • circular Tracer debug impl

v0.2.0

Added

  • Make trace and metrics features optional
  • ExportResult as specified in the specification
  • Add Futures compatibility API
  • Added serde serialise support to SpanData
  • Separate OpenTelemetry Jaeger crate

Changed

  • Rename HttpTraceContextPropagator to TraceContextPropagator
  • Rename HttpB3Propagator to B3Propagator
  • Switch to Apache 2 license
  • Resolve agent addresses to allow non-static IP
  • Remove tracer name prefix from span name

Removed

  • Remove add_link from spans

v0.1.5

Added

  • trace-context propagator

Changed

  • Prometheus API cleanup

v0.1.4

Added

  • Parent option for default sampler

Fixed

  • SDK tracer default span id

v0.1.3

... (truncated)

Commits

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@edmorley
Copy link
Member

edmorley commented Feb 28, 2024

@joshwlewis The tests are failing with:

---- tracing::tests::test_tracing stdout ----
tracing_contents: {"resourceSpans":[{"resource":{"attributes":[{"key":"service.version","value":{"stringValue":"0.0.99"}},{"key":"service.name","value":{"stringValue":"company.com/foo"}}]},"scopeSpans":[{"scope":{"name":"libcnb","version":"0.19.0"},"spans":[{"traceId":"7deae25accd2519109a45a7d05bb5cb2","spanId":"f599048ca08001f7","parentSpanId":"0000000000000000","name":"company_com_foo-bar","kind":1,"startTimeUnixNano":1709116666323150356,"startTime":"2024-02-28 10:37:46.323","endTimeUnixNano":1709116666323166256,"endTime":"2024-02-28 10:37:46.323","attributes":[{"key":"buildpack_id","value":{"stringValue":"company.com/foo"}},{"key":"buildpack_name","value":{"stringValue":"Foo buildpack for company.com"}},{"key":"buildpack_version","value":{"stringValue":"0.0.99"}},{"key":"buildpack_homepage","value":{"stringValue":""}}],"droppedAttributesCount":0,"events":[{"name":"baz-event","attributes":[],"droppedAttributesCount":0,"timeUnixNano":1709116666323158401,"time":"2024-02-28 10:37:46.323"},{"name":"exception","attributes":[{"key":"exception.message","value":{"stringValue":"it's broken"}}],"droppedAttributesCount":0,"timeUnixNano":1709116666323165324,"time":"2024-02-28 10:37:46.323"}],"droppedEventsCount":0,"flags":1,"droppedLinksCount":0,"status":{"message":"Custom { kind: Other, error: \"it's broken\" }","code":2}}]}]}]}

thread 'tracing::tests::test_tracing' panicked at libcnb/src/tracing.rs:193:9:
assertion failed: tracing_contents.contains("\"code\":1")

Could you take a look?

@edmorley edmorley requested review from joshwlewis and removed request for a team February 28, 2024 10:39
@edmorley
Copy link
Member

I've also removed the "skip changelog" label to remind us to confirm whether this is a breaking change or not for consumers of the /tmp/libcnb-telemetry file or not. ie: Will cnb-otel-collector need to be updated in lockstep?

@dependabot dependabot bot force-pushed the dependabot/cargo/opentelemetry-9372ed1e02 branch from 5424ba0 to 9ef98d9 Compare March 1, 2024 03:53
@dependabot dependabot bot force-pushed the dependabot/cargo/opentelemetry-9372ed1e02 branch 2 times, most recently from e719e71 to f500454 Compare March 15, 2024 13:14
@dependabot dependabot bot force-pushed the dependabot/cargo/opentelemetry-9372ed1e02 branch from f500454 to 1c1d26d Compare April 1, 2024 03:56
@dependabot dependabot bot force-pushed the dependabot/cargo/opentelemetry-9372ed1e02 branch 2 times, most recently from 3c02c7a to 36be226 Compare April 12, 2024 10:26
Updates the requirements on [opentelemetry](https://github.com/open-telemetry/opentelemetry-rust), [opentelemetry_sdk](https://github.com/open-telemetry/opentelemetry-rust) and [opentelemetry-stdout](https://github.com/open-telemetry/opentelemetry-rust) to permit the latest version.

Updates `opentelemetry` to 0.22.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-rust/releases)
- [Commits](open-telemetry/opentelemetry-rust@v0.21.0...v0.22.0)

Updates `opentelemetry_sdk` to 0.22.1
- [Release notes](https://github.com/open-telemetry/opentelemetry-rust/releases)
- [Commits](open-telemetry/opentelemetry-rust@v0.21.2...v0.22.1)

Updates `opentelemetry-stdout` to 0.3.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-rust/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-rust/blob/v0.3.0/CHANGELOG.md)
- [Commits](open-telemetry/opentelemetry-rust@v0.2.0...v0.3.0)

---
updated-dependencies:
- dependency-name: opentelemetry
  dependency-type: direct:production
  dependency-group: opentelemetry
- dependency-name: opentelemetry_sdk
  dependency-type: direct:production
  dependency-group: opentelemetry
- dependency-name: opentelemetry-stdout
  dependency-type: direct:production
  dependency-group: opentelemetry
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/cargo/opentelemetry-9372ed1e02 branch from 36be226 to 337fb37 Compare May 1, 2024 03:43
Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 1, 2024

Superseded by #828.

@dependabot dependabot bot closed this Jun 1, 2024
@dependabot dependabot bot deleted the dependabot/cargo/opentelemetry-9372ed1e02 branch June 1, 2024 03:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file rust Dependabot PRs that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant