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

Update opentelemetry to v1.46.0 #2999

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

Conversation

solrbot
Copy link
Collaborator

@solrbot solrbot commented Jan 9, 2025

This PR contains the following updates:

Package Type Update Change
io.opentelemetry:opentelemetry-sdk-trace dependencies minor 1.40.0 -> 1.46.0
io.opentelemetry:opentelemetry-sdk-testing dependencies minor 1.40.0 -> 1.46.0
io.opentelemetry:opentelemetry-sdk-extension-autoconfigure dependencies minor 1.40.0 -> 1.46.0
io.opentelemetry:opentelemetry-sdk dependencies minor 1.40.0 -> 1.46.0
io.opentelemetry:opentelemetry-exporter-otlp dependencies minor 1.40.0 -> 1.46.0
io.opentelemetry:opentelemetry-context dependencies minor 1.40.0 -> 1.46.0
io.opentelemetry:opentelemetry-bom dependencies minor 1.40.0 -> 1.46.0
io.opentelemetry:opentelemetry-api dependencies minor 1.40.0 -> 1.46.0

Release Notes

open-telemetry/opentelemetry-java (io.opentelemetry:opentelemetry-sdk-trace)

v1.46.0

SDK
  • Remove unused dependencies, cleanup code after stabilizing Value
    (#​6948)
  • Explicitly allow null into CompletableResultCode.failExceptionally()
    (#​6963)
Traces
Logs
  • Add getters/accessors for readable fields in ReadWriteLogRecord.
    (#​6924)
Exporters
  • OTLP: Update to opentelemetry-proto 1.5
    (#​6999)
  • Bugfix - OTLP: Ensure Serializer runtime exceptions are rethrown as IOException
    (#​6969)
  • BREAKING - OTLP: Delete experimental OTLP authenticator concept.
    See OTLP authentication docs
    for supported solutions.
    (#​6984)
Extensions
  • BREAKING - Autoconfigure: Remove support for deprecated otel.experimental.resource.disabled.keys
    (#​6931)

v1.45.0

API
  • Add convenience method setAttribute(Attribute<Long>, int) to SpanBuilder (matching the existing
    convenience method in Span)
    (#​6884)
  • Extends TextMapGetter with experimental GetAll() method, implement usage in W3CBaggagePropagator
    (#​6852)
SDK
Traces
  • Add synchronization to SimpleSpanProcessor to ensure thread-safe export of spans
    (#​6885)
Metrics
  • Lazily initialize ReservoirCells
    (#​6851)
Logs
  • Add synchronization to SimpleLogRecordProcessor to ensure thread-safe export of logs
    (#​6885)
Exporters
  • OTLP: Update opentelementry-proto to 1.4
    (#​6906)
  • OTLP: Rename internal Marshaler#writeJsonToGenerator method to allow jackson runtimeOnly dependency
    (#​6896)
  • OTLP: Fix repeated string serialization for JSON.
    (#​6888)
  • OTLP: Fix missing unsafe available check
    (#​6920)
Extensions
  • Declarative config: Don't require empty objects when referencing custom components
    (#​6891)
Tooling
  • Add javadoc boilerplate internal comment v2 for experimental classes
    (#​6886)
  • Update develocity configuration
    (#​6903)

v1.44.1

SDK
Traces
  • Fix regression in event attributes
    (#​6865)

v1.44.0

API
  • Fix ConfigUtil#getString ConcurrentModificationException
    (#​6841)
SDK
Traces
  • Stabilize ExceptionEventData
    (#​6795)
Metrics
  • Stabilize metric cardinality limits
    (#​6794)
  • Refactor metrics internals to remove MeterSharedState
    (#​6845)
Exporters
  • Add memory mode option to stdout exporters
    (#​6774)
  • Log a warning if OTLP endpoint port is likely incorrect given the protocol
    (#​6813)
  • Fix OTLP gRPC retry mechanism for unsuccessful HTTP responses
    (#​6829)
  • Add ByteBuffer field type marshaling support
    (#​6686)
  • Fix stdout exporter format by adding newline after each export
    (#​6848)
  • Enable reusuable_data memory mode by default for OtlpGrpc{Signal}Exporter,
    OtlpHttp{Signal}Exporter, OtlpStdout{Signal}Exporter, and PrometheusHttpServer
    (#​6799)
Extension
  • Rebrand file configuration to declarative configuration in documentation
    (#​6812)
  • Fix declarative config file_format validation
    (#​6786)
  • Fix declarative config env substitution by disallowing '}' in default value
    (#​6793)
  • Set declarative config default OTLP protocol to http/protobuf
    (#​6800)
  • Stabilize autoconfigure disabling of resource keys via otel.resource.disabled.keys
    (#​6809)
Tooling
  • Run tests on Java 23
    (#​6825)
  • Test Windows in CI
    (#​6824)
  • Add error prone checks for internal javadoc and private constructors
    (#​6844)

v1.43.0

API
  • Add helper class to capture context using ScheduledExecutorService
    (#​6712)
  • Adds Baggage.getEntry(String key)
    (#​6765)
Extensions
  • Fix ottracepropagation for short span ids
    (#​6734)
SDK
Metrics
  • Optimize advice with FilteredAttributes
    (#​6633)
Exporters
  • Add experimental stdout log, metric, trace exporters for printing records to stdout in standard
    OTLP JSON format.
    (#​6675, #​6750)
  • Add Marshalers for profiling signal type
    (#​6680)
Extensions
  • Add *Model suffix to declarative config generated classes.
    (#​6721)
  • Use autoconfigured ClassLoader to load declarative config
    (#​6725)
  • Update declarative config to use opentelemetry-configuration v0.3.0
    (#​6733)
  • Add StructuredConfigProperties#getStructured default method,
    add StructuredConfigProperties.empty()
    (#​6759)
Testing
  • Add context info about wrong span or trace.
    (#​6703)

v1.42.1

API
  • Revert java-test-fixtures plugin to remove test dependencies from pom.xml.
    (#​6695)

v1.42.0

API
  • BREAKING: Stabilize log support for AnyValue bodies. Rename AnyValue to Value, promote
    from opentelemetry-api-incubator to opentelemetry-api, change package
    from io.opentelemetry.api.incubator.logs to io.opentelemetry.api.common.
    (#​6591)
  • Noop implementations detect when opentelemetry-api-incubator is present and return extended noop
    implementations.
    (#​6617)%
SDK
Traces
  • Added experimental support for SpanProcessor OnEnding callback
    (#​6367)
  • Remove final modifier from SdkTracer.tracerEnabled
    (#​6687)
Exporters
  • Suppress zipkin exporter instrumentation
    (#​6552)
  • OTLP exporters return status code exceptions via CompletableResultCode in GrpcExporter and
    HttpExporter.
    (#​6645)
  • Align GrpcSender contract with HttpSender
    (#​6658)
Extensions
  • Add autoconfigure support for ns and us durations
    (#​6654)
  • Add declarative configuration ComponentProvider support for resources
    (#​6625)
  • Add declarative configuration ComponentProvider support for processors
    (#​6623)
  • Add declarative configuration ComponentProvider support for samplers
    (#​6494)
  • Add declarative configuration ComponentProvider support for propagators
    (#​6624)
  • Add declarative configuration missing pieces
    (#​6677)
  • Change jaeger remote sampler autoconfigure property from pollingInterval to pollingIntervalMs
    to match spec.
    (#​6672)
Testing
  • Add asserts for log record body fields
    (#​6509)

v1.41.0

API
  • Move experimental suppress instrumentation context key to api internal package
    (#​6546)
Incubator
  • Fix bug in ExtendedContextPropagators preventing context extraction when case is incorrect.
    (#​6569)
SDK
  • Extend CompletableResultCode with failExceptionally(Throwable).
    (#​6348)
Metrics
  • Avoid allocations when experimental advice doesn't remove any attributes.
    (#​6629)
Exporter
  • Enable retry by default for OTLP exporters.
    (#​6588)
  • Retry ConnectException, add retry logging.
    (#​6614)
  • Extend PrometheusHttpServer with ability to configure default aggregation as function of
    instrument kind, including experimental env var support.
    (#​6541)
  • Add exporter data model impl for profiling signal type.
    (#​6498)
  • Add Marshalers for profiling signal type.
    (#​6565)
  • Use generateCertificates() of CertificateFactory to process certificates.
    (#​6579)
Extensions
  • Add file configuration ComponentProvider support for exporters.
    (#​6493)
  • Remove nullable from file config Factory contract.
    (#​6612)

Configuration

📅 Schedule: Branch creation - "* * * * *" (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 has been generated by Renovate Bot

@github-actions github-actions bot added dependencies Dependency upgrades tool:build labels Jan 9, 2025
@solrbot solrbot force-pushed the renovate/opentelemetry branch from 269bbcd to c29f393 Compare January 10, 2025 20:33
@solrbot solrbot changed the title Update opentelemetry to v1.45.0 Update opentelemetry to v1.46.0 Jan 10, 2025
@solrbot
Copy link
Collaborator Author

solrbot commented Jan 10, 2025

⚠️ Artifact update problem

Renovate failed to update an artifact 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: gradle/libs.versions.toml
Command failed: ./gradlew --console=plain --dependency-verification lenient -q :dependencies :solr:dependencies :solr:api:dependencies :solr:benchmark:dependencies :solr:core:dependencies :solr:cross-dc-manager:dependencies :solr:distribution:dependencies :solr:docker:dependencies :solr:documentation:dependencies :solr:example:dependencies :solr:modules:dependencies :solr:packaging:dependencies :solr:prometheus-exporter:dependencies :solr:server:dependencies :solr:solr-ref-guide:dependencies :solr:solrj:dependencies :solr:solrj-streaming:dependencies :solr:solrj-zookeeper:dependencies :solr:test-framework:dependencies :solr:webapp:dependencies :solr:modules:analysis-extras:dependencies :solr:modules:clustering:dependencies :solr:modules:cross-dc:dependencies :solr:modules:extraction:dependencies :solr:modules:gcs-repository:dependencies :solr:modules:hdfs:dependencies :solr:modules:jwt-auth:dependencies :solr:modules:langid:dependencies :solr:modules:llm:dependencies :solr:modules:ltr:dependencies :solr:modules:opentelemetry:dependencies :solr:modules:s3-repository:dependencies :solr:modules:scripting:dependencies :solr:modules:sql:dependencies --update-locks io.opentelemetry:opentelemetry-sdk-trace,io.opentelemetry:opentelemetry-sdk-testing,io.opentelemetry:opentelemetry-sdk-extension-autoconfigure,io.opentelemetry:opentelemetry-sdk,io.opentelemetry:opentelemetry-exporter-otlp,io.opentelemetry:opentelemetry-context,io.opentelemetry:opentelemetry-bom,io.opentelemetry:opentelemetry-api

FAILURE: Build failed with an exception.

* What went wrong:
Failed to notify task execution graph listener.
> Use the ':writeLocks' task to write the lock file, '--write-locks' along is not sufficient.
> Use the ':writeLocks' task to write the lock file, '--write-locks' along is not sufficient.
> Use the ':writeLocks' task to write the lock file, '--write-locks' along is not sufficient.
> Use the ':writeLocks' task to write the lock file, '--write-locks' along is not sufficient.
> Use the ':writeLocks' task to write the lock file, '--write-locks' along is not sufficient.
> Use the ':writeLocks' task to write the lock file, '--write-locks' along is not sufficient.
> Use the ':writeLocks' task to write the lock file, '--write-locks' along is not sufficient.
> Use the ':writeLocks' task to write the lock file, '--write-locks' along is not sufficient.
> Use the ':writeLocks' task to write the lock file, '--write-locks' along is not sufficient.
> Use the ':writeLocks' task to write the lock file, '--write-locks' along is not sufficient.
> Use the ':writeLocks' task to write the lock file, '--write-locks' along is not sufficient.
> Use the ':writeLocks' task to write the lock file, '--write-locks' along is not sufficient.
> Use the ':writeLocks' task to write the lock file, '--write-locks' along is not sufficient.
> Use the ':writeLocks' task to write the lock file, '--write-locks' along is not sufficient.
> Use the ':writeLocks' task to write the lock file, '--write-locks' along is not sufficient.
> Use the ':writeLocks' task to write the lock file, '--write-locks' along is not sufficient.
> Use the ':writeLocks' task to write the lock file, '--write-locks' along is not sufficient.
> Use the ':writeLocks' task to write the lock file, '--write-locks' along is not sufficient.
> Use the ':writeLocks' task to write the lock file, '--write-locks' along is not sufficient.
> Use the ':writeLocks' task to write the lock file, '--write-locks' along is not sufficient.
> Use the ':writeLocks' task to write the lock file, '--write-locks' along is not sufficient.
> Use the ':writeLocks' task to write the lock file, '--write-locks' along is not sufficient.
> Use the ':writeLocks' task to write the lock file, '--write-locks' along is not sufficient.
> Use the ':writeLocks' task to write the lock file, '--write-locks' along is not sufficient.
> Use the ':writeLocks' task to write the lock file, '--write-locks' along is not sufficient.
> Use the ':writeLocks' task to write the lock file, '--write-locks' along is not sufficient.
> Use the ':writeLocks' task to write the lock file, '--write-locks' along is not sufficient.
> Use the ':writeLocks' task to write the lock file, '--write-locks' along is not sufficient.
> Use the ':writeLocks' task to write the lock file, '--write-locks' along is not sufficient.
> Use the ':writeLocks' task to write the lock file, '--write-locks' along is not sufficient.
> Use the ':writeLocks' task to write the lock file, '--write-locks' along is not sufficient.
> Use the ':writeLocks' task to write the lock file, '--write-locks' along is not sufficient.
> Use the ':writeLocks' task to write the lock file, '--write-locks' along is not sufficient.
> Use the ':writeLocks' task to write the lock file, '--write-locks' along is not sufficient.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Get more help at https://help.gradle.org.

BUILD FAILED in 14s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Dependency upgrades tool:build
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant