Prepare for 1.33.0 release (#6065)
This commit is contained in:
		
							parent
							
								
									e90a6f636b
								
							
						
					
					
						commit
						3a6613f9a3
					
				
							
								
								
									
										48
									
								
								CHANGELOG.md
								
								
								
								
							
							
						
						
									
										48
									
								
								CHANGELOG.md
								
								
								
								
							|  | @ -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 | ||||
|  |  | |||
|  | @ -64,6 +64,8 @@ public final class OtlpHttpLogRecordExporterBuilder { | |||
|   /** | ||||
|    * 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"); | ||||
|  | @ -75,6 +77,8 @@ public final class OtlpHttpLogRecordExporterBuilder { | |||
|   /** | ||||
|    * 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"); | ||||
|  | @ -116,6 +120,8 @@ public final class OtlpHttpLogRecordExporterBuilder { | |||
|   /** | ||||
|    * 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); | ||||
|  |  | |||
|  | @ -76,6 +76,8 @@ public final class OtlpHttpMetricExporterBuilder { | |||
|   /** | ||||
|    * 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"); | ||||
|  | @ -87,6 +89,8 @@ public final class OtlpHttpMetricExporterBuilder { | |||
|   /** | ||||
|    * 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"); | ||||
|  | @ -128,6 +132,8 @@ public final class OtlpHttpMetricExporterBuilder { | |||
|   /** | ||||
|    * 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); | ||||
|  |  | |||
|  | @ -64,6 +64,8 @@ public final class OtlpHttpSpanExporterBuilder { | |||
|   /** | ||||
|    * 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"); | ||||
|  | @ -75,6 +77,8 @@ public final class OtlpHttpSpanExporterBuilder { | |||
|   /** | ||||
|    * 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"); | ||||
|  | @ -116,6 +120,8 @@ public final class OtlpHttpSpanExporterBuilder { | |||
|   /** | ||||
|    * 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); | ||||
|  |  | |||
|  | @ -170,6 +170,8 @@ public final class OtlpGrpcLogRecordExporterBuilder { | |||
|    * 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); | ||||
|  |  | |||
|  | @ -183,6 +183,8 @@ public final class OtlpGrpcMetricExporterBuilder { | |||
|    * 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); | ||||
|  |  | |||
|  | @ -167,6 +167,8 @@ public final class OtlpGrpcSpanExporterBuilder { | |||
|    * 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); | ||||
|  |  | |||
|  | @ -73,6 +73,8 @@ public interface AutoConfigurationCustomizer { | |||
|    * delayed data. | ||||
|    * | ||||
|    * <p>Multiple calls will execute the customizers in order. | ||||
|    * | ||||
|    * @since 1.33.0 | ||||
|    */ | ||||
|   default AutoConfigurationCustomizer addSpanProcessorCustomizer( | ||||
|       BiFunction<? super SpanProcessor, ConfigProperties, ? extends SpanProcessor> | ||||
|  | @ -192,6 +194,8 @@ public interface AutoConfigurationCustomizer { | |||
|    * 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> | ||||
|  |  | |||
|  | @ -112,7 +112,11 @@ public abstract class AbstractPointAssert< | |||
|     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); | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue