From cc5b70c737a96dc71b4984817deb3a1b390884b8 Mon Sep 17 00:00:00 2001 From: jack-berg <34418638+jack-berg@users.noreply.github.com> Date: Mon, 13 Nov 2023 11:34:01 -0600 Subject: [PATCH] Prepare 1.32.0 (#5977) Co-authored-by: Trask Stalnaker --- CHANGELOG.md | 70 +++++++++++++++++++ .../OtlpHttpLogRecordExporterBuilder.java | 2 + .../trace/OtlpHttpSpanExporterBuilder.java | 2 + .../OtlpGrpcLogRecordExporterBuilder.java | 2 + .../trace/OtlpGrpcSpanExporterBuilder.java | 2 + 5 files changed, 78 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d9004b6e62..729b0687ad8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,76 @@ ## Unreleased +### API + +* Stabilize explicit bucket boundaries advice API + ([#5897](https://github.com/open-telemetry/opentelemetry-java/pull/5897)) +* Allow events to be emitted with timestamp + ([#5928](https://github.com/open-telemetry/opentelemetry-java/pull/5928)) + +#### Context + +* Add null check to StrictContextStorage + ([#5954](https://github.com/open-telemetry/opentelemetry-java/pull/5954)) + +#### Incubator + +* Experimental support for Log AnyValue body + ([#5880](https://github.com/open-telemetry/opentelemetry-java/pull/5880)) + +### SDK + +#### Metrics + +* Dismantle AbstractInstrumentBuilder inheritance hierarchy + ([#5820](https://github.com/open-telemetry/opentelemetry-java/pull/5820)) +* Fix delta metric storage concurrency bug that allows for lost writes when record operations occur + during collection. The fix introduces additional work on record threads to ensure correctness. The + additional overhead is non-blocking and should be small according to performance testing. Still, + there may be an opportunity for further optimization. + ([#5932](https://github.com/open-telemetry/opentelemetry-java/pull/5932), + [#5976](https://github.com/open-telemetry/opentelemetry-java/pull/5976)) + + +#### Exporters + +* Prometheus exporter: omit empty otel_scope_info and otel_target_info metrics + ([#5887](https://github.com/open-telemetry/opentelemetry-java/pull/5887)) +* JdkHttpSender should retry on connect exceptions + ([#5867](https://github.com/open-telemetry/opentelemetry-java/pull/5867)) +* Expand the set of retryable exceptions in JdkHttpSender + ([#5942](https://github.com/open-telemetry/opentelemetry-java/pull/5942)) +* Identify OTLP export calls with context key used for instrumentation suppression + ([#5918](https://github.com/open-telemetry/opentelemetry-java/pull/5918)) + +#### Testing + +* Add log support to junit extensions + ([#5966](https://github.com/open-telemetry/opentelemetry-java/pull/5966)) + +#### SDK Extensions + +* Add file configuration to autoconfigure + ([#5831](https://github.com/open-telemetry/opentelemetry-java/pull/5831)) +* Update to file configuration to use opentelemetry-configuration v0.1.0 + ([#5899](https://github.com/open-telemetry/opentelemetry-java/pull/5899)) +* Add env var substitution support to file configuration + ([#5914](https://github.com/open-telemetry/opentelemetry-java/pull/5914)) +* Stop setting Resource schemaUrl in autoconfigure + ([#5911](https://github.com/open-telemetry/opentelemetry-java/pull/5911)) +* Add AutoConfigureListener to provide components with autoconfigured SDK + ([#5931](https://github.com/open-telemetry/opentelemetry-java/pull/5931)) + +### OpenCensus Shim + +* Clean up OpenCensus shim + ([#5858](https://github.com/open-telemetry/opentelemetry-java/pull/5858)) + +### OpenTracing Shim + +* Fix OpenTracing header name issue + ([#5840](https://github.com/open-telemetry/opentelemetry-java/pull/5840)) + ## Version 1.31.0 (2023-10-06) ### API diff --git a/exporters/otlp/all/src/main/java/io/opentelemetry/exporter/otlp/http/logs/OtlpHttpLogRecordExporterBuilder.java b/exporters/otlp/all/src/main/java/io/opentelemetry/exporter/otlp/http/logs/OtlpHttpLogRecordExporterBuilder.java index 0a9c9733917..024d6b8b10e 100644 --- a/exporters/otlp/all/src/main/java/io/opentelemetry/exporter/otlp/http/logs/OtlpHttpLogRecordExporterBuilder.java +++ b/exporters/otlp/all/src/main/java/io/opentelemetry/exporter/otlp/http/logs/OtlpHttpLogRecordExporterBuilder.java @@ -143,6 +143,8 @@ public OtlpHttpLogRecordExporterBuilder setMeterProvider(MeterProvider meterProv /** * Sets the {@link MeterProvider} supplier used to collect metrics related to export. If not set, * uses {@link GlobalOpenTelemetry#getMeterProvider()}. + * + * @since 1.32.0 */ public OtlpHttpLogRecordExporterBuilder setMeterProvider( Supplier meterProviderSupplier) { diff --git a/exporters/otlp/all/src/main/java/io/opentelemetry/exporter/otlp/http/trace/OtlpHttpSpanExporterBuilder.java b/exporters/otlp/all/src/main/java/io/opentelemetry/exporter/otlp/http/trace/OtlpHttpSpanExporterBuilder.java index 890ec87ace7..91645cafba5 100644 --- a/exporters/otlp/all/src/main/java/io/opentelemetry/exporter/otlp/http/trace/OtlpHttpSpanExporterBuilder.java +++ b/exporters/otlp/all/src/main/java/io/opentelemetry/exporter/otlp/http/trace/OtlpHttpSpanExporterBuilder.java @@ -144,6 +144,8 @@ public OtlpHttpSpanExporterBuilder setMeterProvider(MeterProvider meterProvider) /** * Sets the {@link MeterProvider} supplier to use to collect metrics related to export. If not * set, uses {@link GlobalOpenTelemetry#getMeterProvider()}. + * + * @since 1.32.0 */ public OtlpHttpSpanExporterBuilder setMeterProvider( Supplier meterProviderSupplier) { diff --git a/exporters/otlp/all/src/main/java/io/opentelemetry/exporter/otlp/logs/OtlpGrpcLogRecordExporterBuilder.java b/exporters/otlp/all/src/main/java/io/opentelemetry/exporter/otlp/logs/OtlpGrpcLogRecordExporterBuilder.java index c825f93d023..cbdf26886c1 100644 --- a/exporters/otlp/all/src/main/java/io/opentelemetry/exporter/otlp/logs/OtlpGrpcLogRecordExporterBuilder.java +++ b/exporters/otlp/all/src/main/java/io/opentelemetry/exporter/otlp/logs/OtlpGrpcLogRecordExporterBuilder.java @@ -187,6 +187,8 @@ public OtlpGrpcLogRecordExporterBuilder setMeterProvider(MeterProvider meterProv /** * Sets the {@link MeterProvider} supplier used to collect metrics related to export. If not set, * uses {@link GlobalOpenTelemetry#getMeterProvider()}. + * + * @since 1.32.0 */ public OtlpGrpcLogRecordExporterBuilder setMeterProvider( Supplier meterProviderSupplier) { diff --git a/exporters/otlp/all/src/main/java/io/opentelemetry/exporter/otlp/trace/OtlpGrpcSpanExporterBuilder.java b/exporters/otlp/all/src/main/java/io/opentelemetry/exporter/otlp/trace/OtlpGrpcSpanExporterBuilder.java index 9aa119c2f1f..77e0f3ae01a 100644 --- a/exporters/otlp/all/src/main/java/io/opentelemetry/exporter/otlp/trace/OtlpGrpcSpanExporterBuilder.java +++ b/exporters/otlp/all/src/main/java/io/opentelemetry/exporter/otlp/trace/OtlpGrpcSpanExporterBuilder.java @@ -184,6 +184,8 @@ public OtlpGrpcSpanExporterBuilder setMeterProvider(MeterProvider meterProvider) /** * Sets the {@link MeterProvider} supplier used to collect metrics related to export. If not set, * uses {@link GlobalOpenTelemetry#getMeterProvider()}. + * + * @since 1.32.0 */ public OtlpGrpcSpanExporterBuilder setMeterProvider( Supplier meterProviderSupplier) {