Skip to content

Commit

Permalink
Prepare for 1.33.0 release (#6065)
Browse files Browse the repository at this point in the history
  • Loading branch information
jack-berg authored Dec 8, 2023
1 parent e90a6f6 commit 3a6613f
Show file tree
Hide file tree
Showing 9 changed files with 81 additions and 1 deletion.
48 changes: 48 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,54 @@

## Unreleased

### API

* Fix issue where wrapping "invalid" SpanContexts in Span does not preserve SpanContext
([#6044](https://github.com/open-telemetry/opentelemetry-java/pull/6044))

#### Incubator

* Refactor and add to ExtendedTracer, add ExtendedContextPropagators
([#6017](https://github.com/open-telemetry/opentelemetry-java/pull/6017))
* Base64 encode AnyValue bytes in string representation
([#6003](https://github.com/open-telemetry/opentelemetry-java/pull/6003))

### SDK

#### Exporters

* Add connectTimeout configuration option OtlpHttp{Signal}Exporters
([#5941](https://github.com/open-telemetry/opentelemetry-java/pull/5941))
* Add ability for Otlp{Protocol}LogRecordExporter to serialize log body any value
([#5938](https://github.com/open-telemetry/opentelemetry-java/pull/5938))
* Android environments can now handle base64 encoded PEM keys, remove exception handling in
TlsUtil#decodePem
([#6034](https://github.com/open-telemetry/opentelemetry-java/pull/6034))
* Add header supplier configuration option to OTLP exporters
([#6004](https://github.com/open-telemetry/opentelemetry-java/pull/6004))


#### Extensions

* Add autoconfigure option for customizing SpanProcessor, LogRecordProcessor
([#5986](https://github.com/open-telemetry/opentelemetry-java/pull/5986))
* Incubator allows for simpler creation of start-only and end-only SpanProcessors.
([#5923](https://github.com/open-telemetry/opentelemetry-java/pull/5923))

#### Testing

* Add hasAttributesSatisfying overload to AbstractPointAssert
([#6048](https://github.com/open-telemetry/opentelemetry-java/pull/6048))

### Project Tooling

* Building animal sniffer signatures directly from android corelib
([#5973](https://github.com/open-telemetry/opentelemetry-java/pull/5973))
* Target kotlin 1.6 in kotlin extension
([#5910](https://github.com/open-telemetry/opentelemetry-java/pull/5910))
* Define language version compatibility requirements
([#5983](https://github.com/open-telemetry/opentelemetry-java/pull/5983))

## Version 1.32.0 (2023-11-13)

### API
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ public OtlpHttpLogRecordExporterBuilder setTimeout(Duration timeout) {
/**
* Sets the maximum time to wait for new connections to be established. If unset, defaults to
* {@value HttpExporterBuilder#DEFAULT_CONNECT_TIMEOUT_SECS}s.
*
* @since 1.33.0
*/
public OtlpHttpLogRecordExporterBuilder setConnectTimeout(long timeout, TimeUnit unit) {
requireNonNull(unit, "unit");
Expand All @@ -75,6 +77,8 @@ public OtlpHttpLogRecordExporterBuilder setConnectTimeout(long timeout, TimeUnit
/**
* Sets the maximum time to wait for new connections to be established. If unset, defaults to
* {@value HttpExporterBuilder#DEFAULT_CONNECT_TIMEOUT_SECS}s.
*
* @since 1.33.0
*/
public OtlpHttpLogRecordExporterBuilder setConnectTimeout(Duration timeout) {
requireNonNull(timeout, "timeout");
Expand Down Expand Up @@ -116,6 +120,8 @@ public OtlpHttpLogRecordExporterBuilder addHeader(String key, String value) {
/**
* Set the supplier of headers to add to requests. If a key from the map collides with a constant
* from {@link #addHeader(String, String)}, the values from both are included.
*
* @since 1.33.0
*/
public OtlpHttpLogRecordExporterBuilder setHeaders(Supplier<Map<String, String>> headerSupplier) {
delegate.setHeadersSupplier(headerSupplier);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ public OtlpHttpMetricExporterBuilder setTimeout(Duration timeout) {
/**
* Sets the maximum time to wait for new connections to be established. If unset, defaults to
* {@value HttpExporterBuilder#DEFAULT_CONNECT_TIMEOUT_SECS}s.
*
* @since 1.33.0
*/
public OtlpHttpMetricExporterBuilder setConnectTimeout(long timeout, TimeUnit unit) {
requireNonNull(unit, "unit");
Expand All @@ -87,6 +89,8 @@ public OtlpHttpMetricExporterBuilder setConnectTimeout(long timeout, TimeUnit un
/**
* Sets the maximum time to wait for new connections to be established. If unset, defaults to
* {@value HttpExporterBuilder#DEFAULT_CONNECT_TIMEOUT_SECS}s.
*
* @since 1.33.0
*/
public OtlpHttpMetricExporterBuilder setConnectTimeout(Duration timeout) {
requireNonNull(timeout, "timeout");
Expand Down Expand Up @@ -128,6 +132,8 @@ public OtlpHttpMetricExporterBuilder addHeader(String key, String value) {
/**
* Set the supplier of headers to add to requests. If a key from the map collides with a constant
* from {@link #addHeader(String, String)}, the values from both are included.
*
* @since 1.33.0
*/
public OtlpHttpMetricExporterBuilder setHeaders(Supplier<Map<String, String>> headerSupplier) {
delegate.setHeadersSupplier(headerSupplier);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ public OtlpHttpSpanExporterBuilder setTimeout(Duration timeout) {
/**
* Sets the maximum time to wait for new connections to be established. If unset, defaults to
* {@value HttpExporterBuilder#DEFAULT_CONNECT_TIMEOUT_SECS}s.
*
* @since 1.33.0
*/
public OtlpHttpSpanExporterBuilder setConnectTimeout(long timeout, TimeUnit unit) {
requireNonNull(unit, "unit");
Expand All @@ -75,6 +77,8 @@ public OtlpHttpSpanExporterBuilder setConnectTimeout(long timeout, TimeUnit unit
/**
* Sets the maximum time to wait for new connections to be established. If unset, defaults to
* {@value HttpExporterBuilder#DEFAULT_CONNECT_TIMEOUT_SECS}s.
*
* @since 1.33.0
*/
public OtlpHttpSpanExporterBuilder setConnectTimeout(Duration timeout) {
requireNonNull(timeout, "timeout");
Expand Down Expand Up @@ -116,6 +120,8 @@ public OtlpHttpSpanExporterBuilder addHeader(String key, String value) {
/**
* Set the supplier of headers to add to requests. If a key from the map collides with a constant
* from {@link #addHeader(String, String)}, the values from both are included.
*
* @since 1.33.0
*/
public OtlpHttpSpanExporterBuilder setHeaders(Supplier<Map<String, String>> headerSupplier) {
delegate.setHeadersSupplier(headerSupplier);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,8 @@ public OtlpGrpcLogRecordExporterBuilder addHeader(String key, String value) {
* Set the supplier of headers to add to requests. If a key from the map collides with a constant
* from {@link #addHeader(String, String)}, the values from both are included. Applicable only if
* {@link OtlpGrpcLogRecordExporterBuilder#setChannel(ManagedChannel)} is not used to set channel.
*
* @since 1.33.0
*/
public OtlpGrpcLogRecordExporterBuilder setHeaders(Supplier<Map<String, String>> headerSupplier) {
delegate.setHeadersSupplier(headerSupplier);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,8 @@ public OtlpGrpcMetricExporterBuilder addHeader(String key, String value) {
* Set the supplier of headers to add to requests. If a key from the map collides with a constant
* from {@link #addHeader(String, String)}, the values from both are included. Applicable only if
* {@link OtlpGrpcMetricExporterBuilder#setChannel(ManagedChannel)} is not used to set channel.
*
* @since 1.33.0
*/
public OtlpGrpcMetricExporterBuilder setHeaders(Supplier<Map<String, String>> headerSupplier) {
delegate.setHeadersSupplier(headerSupplier);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,8 @@ public OtlpGrpcSpanExporterBuilder addHeader(String key, String value) {
* Set the supplier of headers to add to requests. If a key from the map collides with a constant
* from {@link #addHeader(String, String)}, the values from both are included. Applicable only if
* {@link OtlpGrpcSpanExporterBuilder#setChannel(ManagedChannel)} is not used to set channel.
*
* @since 1.33.0
*/
public OtlpGrpcSpanExporterBuilder setHeaders(Supplier<Map<String, String>> headerSupplier) {
delegate.setHeadersSupplier(headerSupplier);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ AutoConfigurationCustomizer addSpanExporterCustomizer(
* delayed data.
*
* <p>Multiple calls will execute the customizers in order.
*
* @since 1.33.0
*/
default AutoConfigurationCustomizer addSpanProcessorCustomizer(
BiFunction<? super SpanProcessor, ConfigProperties, ? extends SpanProcessor>
Expand Down Expand Up @@ -192,6 +194,8 @@ default AutoConfigurationCustomizer addLogRecordExporterCustomizer(
* logs or delay logs for enhancing them with external, delayed data.
*
* <p>Multiple calls will execute the customizers in order.
*
* @since 1.33.0
*/
default AutoConfigurationCustomizer addLogRecordProcessorCustomizer(
BiFunction<? super LogRecordProcessor, ConfigProperties, ? extends LogRecordProcessor>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,11 @@ public final PointAssertT hasAttributesSatisfying(Iterable<AttributeAssertion> a
return myself;
}

/** Asserts the point has attributes satisfying the given condition. */
/**
* Asserts the point has attributes satisfying the given condition.
*
* @since 1.33.0
*/
public final PointAssertT hasAttributesSatisfying(Consumer<Attributes> attributes) {
isNotNull();
assertThat(actual.getAttributes()).as("attributes").satisfies(attributes);
Expand Down

0 comments on commit 3a6613f

Please sign in to comment.