Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 64 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,70 @@

## Unreleased

### API

* Add missing `setAttribute` shortcuts to `Span` and `LogRecordBuilder`
([#8255](https://github.com/open-telemetry/opentelemetry-java/pull/8255))
* Promote `InstrumentationUtil` to public class in `io.opentelemetry.api.impl` package
([#8413](https://github.com/open-telemetry/opentelemetry-java/pull/8413))
* Fix index-out-of-bounds in `StrictContextStorage`
([#8294](https://github.com/open-telemetry/opentelemetry-java/pull/8294))

#### Incubating

* **BREAKING** Remove deprecated `ExtendedAttributes` and related code
([#8395](https://github.com/open-telemetry/opentelemetry-java/pull/8395))

### SDK

#### Metrics

* Collect async exemplars when exemplar filter is `always_on`
([#8363](https://github.com/open-telemetry/opentelemetry-java/pull/8363))
* Move delta record/collect coordination from instrument to series level
([#8313](https://github.com/open-telemetry/opentelemetry-java/pull/8313))

#### Exporters

* Add `noop()` factory method to `SpanExporter` and `LogRecordExporter`
([#8435](https://github.com/open-telemetry/opentelemetry-java/pull/8435))
* **BREAKING** OTLP: Remove support for deprecated `GrpcSenderProvider` and `HttpSenderProvider` SPI
property names (use `io.opentelemetry.sdk.common.export.GrpcSenderProvider` /
`io.opentelemetry.sdk.common.export.HttpSenderProvider` instead)
([#8392](https://github.com/open-telemetry/opentelemetry-java/pull/8392))
* OTLP: Bound OkHttp sender dispatchers and surface rejections
([#8422](https://github.com/open-telemetry/opentelemetry-java/pull/8422))
* Prometheus: Limit exemplar label characters to conform to Prometheus limits
([#8362](https://github.com/open-telemetry/opentelemetry-java/pull/8362))
* Logging: Fix `LoggingSpanExporter.flush()` to preserve flush failures
([#8361](https://github.com/open-telemetry/opentelemetry-java/pull/8361))
* Zipkin: Make exporter self-contained by removing shared internal code dependencies
([#8413](https://github.com/open-telemetry/opentelemetry-java/pull/8413))

#### Extensions

* **BREAKING** Autoconfigure: Remove deprecated `otel.experimental.config.file` property
([#8393](https://github.com/open-telemetry/opentelemetry-java/pull/8393))
* **BREAKING** Incubator: Remove deprecated `ViewConfig`/`ViewConfigCustomizer` view file config mechanism
([#8394](https://github.com/open-telemetry/opentelemetry-java/pull/8394))
* Declarative config: Fix model package
([#8403](https://github.com/open-telemetry/opentelemetry-java/pull/8403))
* Declarative config: Fix Java module name to `io.opentelemetry.sdk.autoconfigure.declarativeconfig`
([#8452](https://github.com/open-telemetry/opentelemetry-java/pull/8452))

### Shims

* Deprecate OpenTracing shim public API
([#8373](https://github.com/open-telemetry/opentelemetry-java/pull/8373))

### Project tooling

* Finish adding OSGi support across all modules
([#8401](https://github.com/open-telemetry/opentelemetry-java/pull/8401),
[#8417](https://github.com/open-telemetry/opentelemetry-java/pull/8417))
* Force `io.zipkin.zipkin2:zipkin:3.6.1` to avoid problematic gson version
([#8430](https://github.com/open-telemetry/opentelemetry-java/pull/8430))

## Version 1.62.0 (2026-05-08)

### API
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ SDK exporters for shipping traces, metrics, and logs out of process.
| [OTLP Logging Exporters](./exporters/logging-otlp) | Logging exporters in OTLP JSON encoding, including traces, metrics, and logs | `opentelemetry-exporter-logging-otlp` | <!--VERSION_STABLE-->1.62.0<!--/VERSION_STABLE--> | [![Javadocs](https://www.javadoc.io/badge/io.opentelemetry/opentelemetry-exporter-logging-otlp.svg)](https://www.javadoc.io/doc/io.opentelemetry/opentelemetry-exporter-logging-otlp) |
| [OTLP Common](./exporters/otlp/common) | Shared OTLP components (internal) | `opentelemetry-exporter-otlp-common` | <!--VERSION_STABLE-->1.62.0<!--/VERSION_STABLE--> | [![Javadocs](https://www.javadoc.io/badge/io.opentelemetry/opentelemetry-exporter-otlp-common.svg)](https://www.javadoc.io/doc/io.opentelemetry/opentelemetry-exporter-otlp-common) |
| [Logging Exporter](./exporters/logging) | Logging exporters, including metrics, traces, and logs | `opentelemetry-exporter-logging` | <!--VERSION_STABLE-->1.62.0<!--/VERSION_STABLE--> | [![Javadocs](https://www.javadoc.io/badge/io.opentelemetry/opentelemetry-exporter-logging.svg)](https://www.javadoc.io/doc/io.opentelemetry/opentelemetry-exporter-logging) |
| [Zipkin Exporter](./exporters/zipkin) | Zipkin trace exporter | `opentelemetry-exporter-zipkin` | <!--VERSION_STABLE-->1.62.0<!--/VERSION_STABLE--> | [![Javadocs](https://www.javadoc.io/badge/io.opentelemetry/opentelemetry-exporter-zipkin.svg)](https://www.javadoc.io/doc/io.opentelemetry/opentelemetry-exporter-zipkin) |
| [Zipkin Exporter](./exporters/zipkin) | **DEPRECATED** Zipkin trace exporter | `opentelemetry-exporter-zipkin` | <!--VERSION_STABLE-->1.62.0<!--/VERSION_STABLE--> | [![Javadocs](https://www.javadoc.io/badge/io.opentelemetry/opentelemetry-exporter-zipkin.svg)](https://www.javadoc.io/doc/io.opentelemetry/opentelemetry-exporter-zipkin) |
| [Prometheus Exporter](./exporters/prometheus) | Prometheus metric exporter | `opentelemetry-exporter-prometheus` | <!--VERSION_UNSTABLE-->1.62.0-alpha<!--/VERSION_UNSTABLE--> | [![Javadocs](https://www.javadoc.io/badge/io.opentelemetry/opentelemetry-exporter-prometheus.svg)](https://www.javadoc.io/doc/io.opentelemetry/opentelemetry-exporter-prometheus) |
| [Exporter Common](./exporters/common) | Shared exporter components (internal) | `opentelemetry-exporter-common` | <!--VERSION_STABLE-->1.62.0<!--/VERSION_STABLE--> | [![Javadocs](https://www.javadoc.io/badge/io.opentelemetry/opentelemetry-exporter-common.svg)](https://www.javadoc.io/doc/io.opentelemetry/opentelemetry-exporter-common) |
| [OkHttp Sender](./exporters/sender/okhttp) | OkHttp implementation of HttpSender (internal) | `opentelemetry-exporter-sender-okhttp` | <!--VERSION_STABLE-->1.62.0<!--/VERSION_STABLE--> | [![Javadocs](https://www.javadoc.io/badge/io.opentelemetry/opentelemetry-exporter-sender-okhttp.svg)](https://www.javadoc.io/doc/io.opentelemetry/opentelemetry-exporter-sender-okhttp) |
Expand Down Expand Up @@ -143,7 +143,7 @@ Shims for bridging data from one observability library to another.
| Component | Description | Artifact ID | Version | Javadoc |
|----------------------------------------|--------------------------------------------------------------|----------------------------------|-------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [OpenCensus Shim](./opencensus-shim) | Bridge opencensus metrics into the OpenTelemetry metrics SDK | `opentelemetry-opencensus-shim` | <!--VERSION_UNSTABLE-->1.62.0-alpha<!--/VERSION_UNSTABLE--> | [![Javadocs](https://www.javadoc.io/badge/io.opentelemetry/opentelemetry-opencensus-shim.svg)](https://www.javadoc.io/doc/io.opentelemetry/opentelemetry-opencensus-shim) |
| [OpenTracing Shim](./opentracing-shim) | Bridge opentracing spans into the OpenTelemetry trace API | `opentelemetry-opentracing-shim` | <!--VERSION_STABLE-->1.62.0<!--/VERSION_STABLE--> | [![Javadocs](https://www.javadoc.io/badge/io.opentelemetry/opentelemetry-opentracing-shim.svg)](https://www.javadoc.io/doc/io.opentelemetry/opentelemetry-opentracing-shim) |
| [OpenTracing Shim](./opentracing-shim) | **DEPRECATED** Bridge opentracing spans into the OpenTelemetry trace API | `opentelemetry-opentracing-shim` | <!--VERSION_STABLE-->1.62.0<!--/VERSION_STABLE--> | [![Javadocs](https://www.javadoc.io/badge/io.opentelemetry/opentelemetry-opentracing-shim.svg)](https://www.javadoc.io/doc/io.opentelemetry/opentelemetry-opentracing-shim) |
</details>

### Verifying Artifacts
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
*
* <p>This class is not intended for use by application developers. Its API is stable and will not
* be changed or removed in a backwards-incompatible manner.
*
* @since 1.63.0
*/
public final class InstrumentationUtil {
private static final ContextKey<Boolean> SUPPRESS_INSTRUMENTATION_KEY =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ default LogRecordBuilder setAttribute(String key, int value) {
* @param key the key for this attribute.
* @param value the value for this attribute.
* @return this.
* @since 1.63.0
*/
default LogRecordBuilder setAttribute(String key, Value<?> value) {
return setAttribute(AttributeKey.valueKey(key), value);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ default Span setAttribute(String key, boolean value) {
* @param key the key for this attribute.
* @param value the value for this attribute.
* @return this.
* @since 1.63.0
*/
default Span setAttribute(String key, Value<?> value) {
return setAttribute(AttributeKey.valueKey(key), value);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ static LogRecordExporter composite(Iterable<LogRecordExporter> exporters) {

/**
* Returns a {@link LogRecordExporter} that does nothing. All exported LogRecordData are ignored.
*
* @since 1.63.0
*/
static LogRecordExporter noop() {
return NoopLogRecordExporter.getInstance();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,11 @@ static SpanExporter composite(Iterable<SpanExporter> exporters) {
return MultiSpanExporter.create(exportersList);
}

/** Returns a {@link SpanExporter} that does nothing. All exported Spans are ignored. */
/**
* Returns a {@link SpanExporter} that does nothing. All exported Spans are ignored.
*
* @since 1.63.0
*/
static SpanExporter noop() {
return NoopSpanExporter.getInstance();
}
Expand Down
Loading