Skip to content

Commit edbb475

Browse files
jack-bergtrask
andauthored
Prepare 1.39.0 (#6506)
Co-authored-by: Trask Stalnaker <[email protected]>
1 parent 934da84 commit edbb475

File tree

8 files changed

+62
-7
lines changed

8 files changed

+62
-7
lines changed

CHANGELOG.md

+42
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,48 @@
22

33
## Unreleased
44

5+
### API
6+
7+
#### Incubator
8+
9+
* BREAKING: Refactor ExtendedTracer, ExtendedSpanBuilder to reflect incubating API conventions
10+
([#6497](https://github.com/open-telemetry/opentelemetry-java/pull/6497))
11+
12+
### SDK
13+
14+
#### Exporter
15+
16+
* BREAKING: Serve prometheus metrics only on `/metrics` by default. To restore the previous behavior
17+
and serve metrics on all paths, override the default handler
18+
as [demonstrated here](https://github.com/open-telemetry/opentelemetry-java/blob/main/exporters/prometheus/src/test/java/io/opentelemetry/exporter/prometheus/PrometheusHttpServerTest.java#L251-L259).
19+
([#6476](https://github.com/open-telemetry/opentelemetry-java/pull/6476))
20+
* Make OTLP exporter memory mode API public
21+
([#6469](https://github.com/open-telemetry/opentelemetry-java/pull/6469))
22+
* Speed up OTLP string marshaling using sun.misc.Unsafe
23+
([#6433](https://github.com/open-telemetry/opentelemetry-java/pull/6433))
24+
* Add exporter data classes for experimental profiling signal type.
25+
([#6374](https://github.com/open-telemetry/opentelemetry-java/pull/6374))
26+
* Start prometheus http server with daemon thread
27+
([#6472](https://github.com/open-telemetry/opentelemetry-java/pull/6472))
28+
* Update the Prometheus metrics library and improve how units are included in metric names.
29+
([#6473](https://github.com/open-telemetry/opentelemetry-java/pull/6473))
30+
* Remove android animalsniffer check from prometheus exporter
31+
([#6478](https://github.com/open-telemetry/opentelemetry-java/pull/6478))
32+
33+
#### Extensions
34+
35+
* Load file config YAML using core schema, ensure that env var substitution retains string types.
36+
([#6436](https://github.com/open-telemetry/opentelemetry-java/pull/6436))
37+
* Define dedicated file configuration SPI ComponentProvider
38+
([#6457](https://github.com/open-telemetry/opentelemetry-java/pull/6457))
39+
40+
### Tooling
41+
42+
* Normalize timestamps and file ordering in jars, making the outputs reproducible
43+
([#6471](https://github.com/open-telemetry/opentelemetry-java/pull/6471))
44+
* GHA for generating the post-release pull request
45+
([#6449](https://github.com/open-telemetry/opentelemetry-java/pull/6449))
46+
547
## Version 1.38.0 (2024-05-10)
648

749
### API

exporters/otlp/all/src/main/java/io/opentelemetry/exporter/otlp/http/logs/OtlpHttpLogRecordExporterBuilder.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,10 @@ public OtlpHttpLogRecordExporterBuilder setMeterProvider(
213213
/**
214214
* Set the {@link MemoryMode}. If unset, defaults to {@link #DEFAULT_MEMORY_MODE}.
215215
*
216-
* <p>>When memory mode is {@link MemoryMode#REUSABLE_DATA}, serialization is optimized to reduce
216+
* <p>When memory mode is {@link MemoryMode#REUSABLE_DATA}, serialization is optimized to reduce
217217
* memory allocation.
218+
*
219+
* @since 1.39.0
218220
*/
219221
public OtlpHttpLogRecordExporterBuilder setMemoryMode(MemoryMode memoryMode) {
220222
requireNonNull(memoryMode, "memoryMode");

exporters/otlp/all/src/main/java/io/opentelemetry/exporter/otlp/http/metrics/OtlpHttpMetricExporterBuilder.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -236,13 +236,15 @@ public OtlpHttpMetricExporterBuilder setProxyOptions(ProxyOptions proxyOptions)
236236
/**
237237
* Set the {@link MemoryMode}. If unset, defaults to {@link #DEFAULT_MEMORY_MODE}.
238238
*
239-
* <p>>When memory mode is {@link MemoryMode#REUSABLE_DATA}, serialization is optimized to reduce
239+
* <p>When memory mode is {@link MemoryMode#REUSABLE_DATA}, serialization is optimized to reduce
240240
* memory allocation. Additionally, the value is used for {@link MetricExporter#getMemoryMode()},
241241
* which sends a signal to the metrics SDK to reuse memory when possible. This is safe and
242242
* desirable for most use cases, but should be used with caution of wrapping and delegating to the
243243
* exporter. It is not safe for the wrapping exporter to hold onto references to {@link
244244
* MetricData} batches since the same data structures will be reused in subsequent calls to {@link
245245
* MetricExporter#export(Collection)}.
246+
*
247+
* @since 1.39.0
246248
*/
247249
public OtlpHttpMetricExporterBuilder setMemoryMode(MemoryMode memoryMode) {
248250
requireNonNull(memoryMode, "memoryMode");

exporters/otlp/all/src/main/java/io/opentelemetry/exporter/otlp/http/trace/OtlpHttpSpanExporterBuilder.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,10 @@ public OtlpHttpSpanExporterBuilder setMeterProvider(
214214
/**
215215
* Set the {@link MemoryMode}. If unset, defaults to {@link #DEFAULT_MEMORY_MODE}.
216216
*
217-
* <p>>When memory mode is {@link MemoryMode#REUSABLE_DATA}, serialization is optimized to reduce
217+
* <p>When memory mode is {@link MemoryMode#REUSABLE_DATA}, serialization is optimized to reduce
218218
* memory allocation.
219+
*
220+
* @since 1.39.0
219221
*/
220222
public OtlpHttpSpanExporterBuilder setMemoryMode(MemoryMode memoryMode) {
221223
requireNonNull(memoryMode, "memoryMode");

exporters/otlp/all/src/main/java/io/opentelemetry/exporter/otlp/logs/OtlpGrpcLogRecordExporterBuilder.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -246,8 +246,10 @@ public OtlpGrpcLogRecordExporterBuilder setMeterProvider(
246246
/**
247247
* Set the {@link MemoryMode}. If unset, defaults to {@link #DEFAULT_MEMORY_MODE}.
248248
*
249-
* <p>>When memory mode is {@link MemoryMode#REUSABLE_DATA}, serialization is optimized to reduce
249+
* <p>When memory mode is {@link MemoryMode#REUSABLE_DATA}, serialization is optimized to reduce
250250
* memory allocation.
251+
*
252+
* @since 1.39.0
251253
*/
252254
public OtlpGrpcLogRecordExporterBuilder setMemoryMode(MemoryMode memoryMode) {
253255
requireNonNull(memoryMode, "memoryMode");

exporters/otlp/all/src/main/java/io/opentelemetry/exporter/otlp/metrics/OtlpGrpcMetricExporterBuilder.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -269,13 +269,15 @@ public OtlpGrpcMetricExporterBuilder setRetryPolicy(RetryPolicy retryPolicy) {
269269
/**
270270
* Set the {@link MemoryMode}. If unset, defaults to {@link #DEFAULT_MEMORY_MODE}.
271271
*
272-
* <p>>When memory mode is {@link MemoryMode#REUSABLE_DATA}, serialization is optimized to reduce
272+
* <p>When memory mode is {@link MemoryMode#REUSABLE_DATA}, serialization is optimized to reduce
273273
* memory allocation. Additionally, the value is used for {@link MetricExporter#getMemoryMode()},
274274
* which sends a signal to the metrics SDK to reuse memory when possible. This is safe and
275275
* desirable for most use cases, but should be used with caution of wrapping and delegating to the
276276
* exporter. It is not safe for the wrapping exporter to hold onto references to {@link
277277
* MetricData} batches since the same data structures will be reused in subsequent calls to {@link
278278
* MetricExporter#export(Collection)}.
279+
*
280+
* @since 1.39.0
279281
*/
280282
public OtlpGrpcMetricExporterBuilder setMemoryMode(MemoryMode memoryMode) {
281283
requireNonNull(memoryMode, "memoryMode");

exporters/otlp/all/src/main/java/io/opentelemetry/exporter/otlp/trace/OtlpGrpcSpanExporterBuilder.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -243,8 +243,10 @@ public OtlpGrpcSpanExporterBuilder setMeterProvider(
243243
/**
244244
* Set the {@link MemoryMode}. If unset, defaults to {@link #DEFAULT_MEMORY_MODE}.
245245
*
246-
* <p>>When memory mode is {@link MemoryMode#REUSABLE_DATA}, serialization is optimized to reduce
246+
* <p>When memory mode is {@link MemoryMode#REUSABLE_DATA}, serialization is optimized to reduce
247247
* memory allocation.
248+
*
249+
* @since 1.39.0
248250
*/
249251
public OtlpGrpcSpanExporterBuilder setMemoryMode(MemoryMode memoryMode) {
250252
requireNonNull(memoryMode, "memoryMode");

exporters/otlp/profiles/build.gradle.kts

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
plugins {
22
id("otel.java-conventions")
3-
id("otel.publish-conventions")
3+
// TODO (jack-berg): uncomment when ready to publish
4+
// id("otel.publish-conventions")
45

56
id("otel.animalsniffer-conventions")
67
}

0 commit comments

Comments
 (0)