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 dependency io.opentelemetry:opentelemetry-api to v1.45.0 #109

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 3, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
io.opentelemetry:opentelemetry-api 1.33.0 -> 1.45.0 age adoption passing confidence

Release Notes

open-telemetry/opentelemetry-java (io.opentelemetry:opentelemetry-api)

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)

v1.40.0

API
Incubator
  • Narrow ExtendedSpanBuilder return types for chaining
    (#​6514)
  • Add APIs to determine if tracer, logger, instruments are enabled
    (#​6502)
SDK
Extensions
  • Move autoconfigure docs to opentelemetry.io
    (#​6491)

v1.39.0

API
Incubator
  • BREAKING: Refactor ExtendedTracer, ExtendedSpanBuilder to reflect incubating API conventions
    (#​6497)
SDK
Exporter
  • BREAKING: Serve prometheus metrics only on /metrics by default. To restore the previous behavior
    and serve metrics on all paths, override the default handler
    as demonstrated here.
    (#​6476)
  • Make OTLP exporter memory mode API public
    (#​6469)
  • Speed up OTLP string marshaling using sun.misc.Unsafe
    (#​6433)
  • Add exporter data classes for experimental profiling signal type.
    (#​6374)
  • Start prometheus http server with daemon thread
    (#​6472)
  • Update the Prometheus metrics library and improve how units are included in metric names.
    (#​6473)
  • Remove android animalsniffer check from prometheus exporter
    (#​6478)
Extensions
  • Load file config YAML using core schema, ensure that env var substitution retains string types.
    (#​6436)
  • Define dedicated file configuration SPI ComponentProvider
    (#​6457)
Tooling
  • Normalize timestamps and file ordering in jars, making the outputs reproducible
    (#​6471)
  • GHA for generating the post-release pull request
    (#​6449)

v1.38.0

API
  • Stabilize synchronous gauge
    (#​6419)
Incubator
  • Add put(AttributeKey, T) overload to EventBuilder
    (#​6331)
Baggage
  • Baggage filters space-only keys
    (#​6431)
SDK
  • Add experimental scope config to enable / disable scopes (i.e. meter, logger, tracer)
    (#​6375)
Traces
  • Add ReadableSpan#getAttributes
    (#​6382)
  • Use standard ArrayList size rather than max number of links for initial span links allocation
    (#​6252)
Metrics
  • Use low precision Clock#now when computing timestamp for exemplars
    (#​6417)
  • Update invalid instrument name log message now that forward slash / is valid
    (#​6343)
Exporters
  • Introduce low allocation OTLP marshalers. If using autoconfigure, opt in
    via OTEL_JAVA_EXPERIMENTAL_EXPORTER_MEMORY_MODE=REUSABLE_DATA.
    • Low allocation OTLP logs marshaler
      (#​6429)
    • Low allocation OTLP metrics marshaler
      (#​6422)
    • Low allocation OTLP trace marshaler
      (#​6410)
    • Add memory mode support to OTLP exporters
      (#​6430)
    • Marshal span status description without allocation
      (#​6423)
    • Add private constructors for stateless marshalers
      (#​6434)
  • Mark opentelemetry-exporter-sender-jdk stable
    (#​6357)
  • PrometheusHttpServer prevent concurrent reads when reusable memory mode
    (#​6371)
  • Ignore TLS components (SSLContext, TrustManager, KeyManager) if plain HTTP protocol is used for
    exporting
    (#​6329)
  • Add is_remote_parent span flags to OTLP exported Spans and SpanLinks
    (#​6388)
  • Add missing fields to OTLP metric exporters toString()
    (#​6402)
Extensions
  • Rename otel.config.file to otel.experimental.config.file for autoconfigure
    (#​6396)
OpenCensus Shim
  • Fix opencensus shim spanBuilderWithRemoteParent behavior
    (#​6415)
Tooling
  • Add additional API incubator docs
    (#​6356)
  • Run build on java 21
    (#​6370)
  • Fix running tests with java 8 on macos
    (#​6411)
  • Move away from deprecated gradle enterprise APIs
    (#​6363)

v1.37.0

NOTICE: This release contains a significant restructuring of the experimental event API and the API incubator artifact. Please read the notes in the API -> Incubator section carefully.

API
  • Promote Span#addLink to stable API
    (#​6317)
Incubator
  • BREAKING: Rename opentelemetry-extension-incubator to opentelemetry-api-incubator,
    merge opentelemetry-api-events into opentelemetry-api-incubator.
    (#​6289)
  • BREAKING: Remove domain from event api. EventEmitterProvider#setEventDomain has been removed.
    The event.name field should now be namespaced to avoid collisions.
    See Semantic Conventions for Event Attributes
    for more details.
    (#​6253)
  • BREAKING: Rename EventEmitter and related classes to EventLogger.
    (#​6316)
  • BREAKING: Refactor Event API to reflect spec changes. Restructure API to put fields in
    the AnyValue log record body. Add setters for timestamp, context, and severity. Set default
    severity to INFO=9.
    (#​6318)
SDK
  • Add get{Signal}Exporter methods to Simple{Signal}Processor, Batch{Signal}Processor.
    (#​6078)
Metrics
  • Use synchronized instead of reentrant lock in explicit bucket histogram
    (#​6309)
Exporters
  • Fix typo in OTLP javadoc
    (#​6311)
  • Add PrometheusHttpServer#toBuilder()
    (#​6333)
  • Bugfix: Use getPrometheusName for Otel2PrometheusConverter map keys to avoid metric name
    conflicts
    (#​6308)
Extensions
  • Add Metric exporter REUSABLE_DATA memory mode configuration options, including autoconfigure
    support via env var OTEL_JAVA_EXPERIMENTAL_EXPORTER_MEMORY_MODE=REUSABLE_DATA.
    (#​6304)
  • Add autoconfigure console alias for logging exporter
    (#​6027)
  • Update jaeger autoconfigure docs to point to OTLP
    (#​6307)
  • Add ServiceInstanceIdResourceProvider implementation for generating service.instance.id UUID
    if not already provided by user. Included in opentelemetry-sdk-extension-incubator.
    (#​6226)
  • Add GCP resource detector to list of resource providers in autoconfigure docs
    (#​6336)
Tooling
  • Check for Java 17 toolchain and fail if not found
    (#​6303)

v1.36.0

SDK
Traces
  • Lazily initialize the container for events in the SDK Span implementation
    (#​6244)
Exporters
  • Add basic proxy configuration to OtlpHttp{Signal}Exporters
    (#​6270)
  • Add connectTimeout configuration option OtlpGrpc{Signal}Exporters
    (#​6079)
Extensions
  • Add ComponentLoader to autoconfigure support more scenarios
    (#​6217)
  • Added MetricReader customizer for AutoConfiguredOpenTelemetrySdkBuilder
    (#​6231)
  • Return AutoConfiguredOpenTelemetrySdkBuilder instead of the base type
    (#​6248)
Tooling
  • Add note about draft PRs to CONTRIBUTING.md
    (#​6247)

v1.35.0

NOTE: The opentelemetry-exporter-jaeger and opentelemetry-exporter-jaeger-thift artifacts
have stopped being published. Jaeger
has native support for OTLP, and users
should export to jaeger
using OTLP
instead.

API
Incubator
  • Add Span#addLink, for adding a link after span start
    (#​6084)
SDK
Traces
  • Bugfix: Ensure span status cannot be updated after set to StatusCode.OK
    (#​6209
Metrics
  • Reusable memory Mode: Adding support for exponential histogram aggregation
    (#​6058,
    #​6136)
  • Reusable memory mode: Adding support for explicit histogram aggregation
    (#​6153)
  • Reusable memory mode: Adding support for sum aggregation
    (#​6182)
  • Reusable memory mode: Adding support for last value aggregation
    (#​6196)
Exporters
  • Recreate / fix graal issue detecting RetryPolicy class
    (#​6139,
    #​6134)
  • Restore prometheus metric name mapper tests, fix regressions
    (#​6138)
  • WARNING: Remove jaeger exporters
    (#​6119)
  • Update dependency io.zipkin.reporter2:zipkin-reporter-bom to 3.2.1.
    Note: ZipkinSpanExporterBuilder#setEncoder(zipkin2.codec.BytesEncoder) has been deprecated in
    favor of ZipkinSpanExporterBuilder#setEncoder(zipkin2.reporter.BytesEncoder).
    ZipkinSpanExporterBuilder#setSender(zipkin2.reporter.Sender) has been deprecated in favor
    of ZipkinSpanExporterBuilder#setSender(zipkin2.reporter.BytesMessageSender).
    (#​6129,
    #​6151)
  • Include trace flags in otlp marshaller
    (#​6167)
  • Add Compressor SPI support to OtlpGrpc{Signal}Exporters
    (#​6103)
  • Allow Prometheus exporter to add resource attributes to metric attributes
    (#​6179)
Extension
  • Autoconfigure accepts encoded header values for OTLP exporters
    (#​6164)
  • Return implementation type from AutoConfiguredOpenTelemetrySdkBuilder.addLogRecordProcessorCustomizer
    (#​6248)
Incubator
  • Align file configuration with latest changes to spec
    (#​6088)
Tooling
  • Stop including old artifacts in bom
    (#​6157)
  • Define CODECOV token
    (#​6186)

v1.34.1

  • Fix prometheus exporter regressions
    (#​6138)
  • Fix native image regression
    (#​6134)

v1.34.0

NOTE: This is the LAST release for opentelemetry-exporter-jaeger
and opentelemetry-exporter-jaeger-thift. Jaeger
has native support for OTLP, and users
should export to jaeger
using OTLP
instead.

API
  • Ability to access version.properties API file with GraalVM native
    (#​6095)
SDK
Traces
  • Only call SpanProcessor onStart / onEnd if required
    (#​6112)
  • Add option to export unsampled spans from span processors
    (#​6057)
Metrics
  • Memory Mode: Adding first part support for synchronous instruments - storage
    (#​5998)
  • Base2ExponentialHistogramAggregation maxBuckets must be >= 2
    (#​6093)
  • Convert histogram measurements to double before passing recording exemplar reservoir
    (#​6024)
Exporters
  • Add compressor SPI to support additional compression algos
    (#​5990)
  • Test OTLP exporters with different OkHttp versions
    (#​6045)
  • Refactor prometheus exporter to use io.prometheus:prometheus-metrics-exporter-httpserver, add
    exponential Histogram support
    (#​6015)
  • UpstreamGrpcSenderProvider uses minimal fallback managed channel when none is specified
    (#​6110)
  • OTLP exporters propagate serialization IOException instead of rethrowing as runtime
    (#​6082)
Extensions
  • Autoconfigure reads normalized otel.config.file property
    (#​6105)

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.

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


  • 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 requested a review from a team as a code owner December 3, 2024 02:40
@renovate renovate bot force-pushed the renovate/opentelemetry-java-monorepo branch from 31da995 to b73c9d0 Compare December 6, 2024 22:28
@renovate renovate bot changed the title fix(deps): update dependency io.opentelemetry:opentelemetry-api to v1.44.1 fix(deps): update dependency io.opentelemetry:opentelemetry-api to v1.45.0 Dec 6, 2024
Copy link
Member

@trask trask left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we pin the version instead?

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.

1 participant