Prepare 1.36.0 (#6276)

This commit is contained in:
jack-berg 2024-03-08 06:44:26 -06:00 committed by GitHub
parent c3ed1d5ee5
commit f032fc6703
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
11 changed files with 62 additions and 8 deletions

View File

@ -2,6 +2,34 @@
## Unreleased ## Unreleased
### SDK
#### Traces
* Lazily initialize the container for events in the SDK Span implementation
([#6244](https://github.com/open-telemetry/opentelemetry-java/pull/6244))
#### Exporters
* Add basic proxy configuration to OtlpHttp{Signal}Exporters
([#6270](https://github.com/open-telemetry/opentelemetry-java/pull/6270))
* Add connectTimeout configuration option OtlpGrpc{Signal}Exporters
([#6079](https://github.com/open-telemetry/opentelemetry-java/pull/6079))
#### Extensions
* Add ComponentLoader to autoconfigure support more scenarios
([#6217](https://github.com/open-telemetry/opentelemetry-java/pull/6217))
* Added MetricReader customizer for AutoConfiguredOpenTelemetrySdkBuilder
([#6231](https://github.com/open-telemetry/opentelemetry-java/pull/6231))
* Return AutoConfiguredOpenTelemetrySdkBuilder instead of the base type
([#6248](https://github.com/open-telemetry/opentelemetry-java/pull/6248))
### Tooling
* Add note about draft PRs to CONTRIBUTING.md
([#6247](https://github.com/open-telemetry/opentelemetry-java/pull/6247))
## Version 1.35.0 (2024-02-09) ## Version 1.35.0 (2024-02-09)
**NOTE:** The `opentelemetry-exporter-jaeger` and `opentelemetry-exporter-jaeger-thift` artifacts **NOTE:** The `opentelemetry-exporter-jaeger` and `opentelemetry-exporter-jaeger-thift` artifacts

View File

@ -1,2 +0,0 @@
Comparing source compatibility of against
No changes.

View File

@ -1,2 +0,0 @@
Comparing source compatibility of against
No changes.

View File

@ -172,7 +172,11 @@ public final class OtlpHttpLogRecordExporterBuilder {
return this; return this;
} }
/** Sets the proxy options. Proxying is disabled by default. */ /**
* Sets the proxy options. Proxying is disabled by default.
*
* @since 1.36.0
*/
public OtlpHttpLogRecordExporterBuilder setProxyOptions(ProxyOptions proxyOptions) { public OtlpHttpLogRecordExporterBuilder setProxyOptions(ProxyOptions proxyOptions) {
requireNonNull(proxyOptions, "proxyOptions"); requireNonNull(proxyOptions, "proxyOptions");
delegate.setProxyOptions(proxyOptions); delegate.setProxyOptions(proxyOptions);

View File

@ -216,7 +216,11 @@ public final class OtlpHttpMetricExporterBuilder {
return this; return this;
} }
/** Sets the proxy options. Proxying is disabled by default. */ /**
* Sets the proxy options. Proxying is disabled by default.
*
* @since 1.36.0
*/
public OtlpHttpMetricExporterBuilder setProxyOptions(ProxyOptions proxyOptions) { public OtlpHttpMetricExporterBuilder setProxyOptions(ProxyOptions proxyOptions) {
requireNonNull(proxyOptions, "proxyOptions"); requireNonNull(proxyOptions, "proxyOptions");
delegate.setProxyOptions(proxyOptions); delegate.setProxyOptions(proxyOptions);

View File

@ -173,7 +173,11 @@ public final class OtlpHttpSpanExporterBuilder {
return this; return this;
} }
/** Sets the proxy options. Proxying is disabled by default. */ /**
* Sets the proxy options. Proxying is disabled by default.
*
* @since 1.36.0
*/
public OtlpHttpSpanExporterBuilder setProxy(ProxyOptions proxyOptions) { public OtlpHttpSpanExporterBuilder setProxy(ProxyOptions proxyOptions) {
requireNonNull(proxyOptions, "proxyOptions"); requireNonNull(proxyOptions, "proxyOptions");
delegate.setProxyOptions(proxyOptions); delegate.setProxyOptions(proxyOptions);

View File

@ -104,6 +104,8 @@ public final class OtlpGrpcLogRecordExporterBuilder {
/** /**
* Sets the maximum time to wait for new connections to be established. If unset, defaults to * Sets the maximum time to wait for new connections to be established. If unset, defaults to
* {@value GrpcExporterBuilder#DEFAULT_CONNECT_TIMEOUT_SECS}s. * {@value GrpcExporterBuilder#DEFAULT_CONNECT_TIMEOUT_SECS}s.
*
* @since 1.36.0
*/ */
public OtlpGrpcLogRecordExporterBuilder setConnectTimeout(long timeout, TimeUnit unit) { public OtlpGrpcLogRecordExporterBuilder setConnectTimeout(long timeout, TimeUnit unit) {
requireNonNull(unit, "unit"); requireNonNull(unit, "unit");
@ -115,6 +117,8 @@ public final class OtlpGrpcLogRecordExporterBuilder {
/** /**
* Sets the maximum time to wait for new connections to be established. If unset, defaults to * Sets the maximum time to wait for new connections to be established. If unset, defaults to
* {@value GrpcExporterBuilder#DEFAULT_CONNECT_TIMEOUT_SECS}s. * {@value GrpcExporterBuilder#DEFAULT_CONNECT_TIMEOUT_SECS}s.
*
* @since 1.36.0
*/ */
public OtlpGrpcLogRecordExporterBuilder setConnectTimeout(Duration timeout) { public OtlpGrpcLogRecordExporterBuilder setConnectTimeout(Duration timeout) {
requireNonNull(timeout, "timeout"); requireNonNull(timeout, "timeout");

View File

@ -116,6 +116,8 @@ public final class OtlpGrpcMetricExporterBuilder {
/** /**
* Sets the maximum time to wait for new connections to be established. If unset, defaults to * Sets the maximum time to wait for new connections to be established. If unset, defaults to
* {@value GrpcExporterBuilder#DEFAULT_CONNECT_TIMEOUT_SECS}s. * {@value GrpcExporterBuilder#DEFAULT_CONNECT_TIMEOUT_SECS}s.
*
* @since 1.36.0
*/ */
public OtlpGrpcMetricExporterBuilder setConnectTimeout(long timeout, TimeUnit unit) { public OtlpGrpcMetricExporterBuilder setConnectTimeout(long timeout, TimeUnit unit) {
requireNonNull(unit, "unit"); requireNonNull(unit, "unit");
@ -127,6 +129,8 @@ public final class OtlpGrpcMetricExporterBuilder {
/** /**
* Sets the maximum time to wait for new connections to be established. If unset, defaults to * Sets the maximum time to wait for new connections to be established. If unset, defaults to
* {@value GrpcExporterBuilder#DEFAULT_CONNECT_TIMEOUT_SECS}s. * {@value GrpcExporterBuilder#DEFAULT_CONNECT_TIMEOUT_SECS}s.
*
* @since 1.36.0
*/ */
public OtlpGrpcMetricExporterBuilder setConnectTimeout(Duration timeout) { public OtlpGrpcMetricExporterBuilder setConnectTimeout(Duration timeout) {
requireNonNull(timeout, "timeout"); requireNonNull(timeout, "timeout");

View File

@ -100,6 +100,8 @@ public final class OtlpGrpcSpanExporterBuilder {
/** /**
* Sets the maximum time to wait for new connections to be established. If unset, defaults to * Sets the maximum time to wait for new connections to be established. If unset, defaults to
* {@value GrpcExporterBuilder#DEFAULT_CONNECT_TIMEOUT_SECS}s. * {@value GrpcExporterBuilder#DEFAULT_CONNECT_TIMEOUT_SECS}s.
*
* @since 1.36.0
*/ */
public OtlpGrpcSpanExporterBuilder setConnectTimeout(long timeout, TimeUnit unit) { public OtlpGrpcSpanExporterBuilder setConnectTimeout(long timeout, TimeUnit unit) {
requireNonNull(unit, "unit"); requireNonNull(unit, "unit");
@ -111,6 +113,8 @@ public final class OtlpGrpcSpanExporterBuilder {
/** /**
* Sets the maximum time to wait for new connections to be established. If unset, defaults to * Sets the maximum time to wait for new connections to be established. If unset, defaults to
* {@value GrpcExporterBuilder#DEFAULT_CONNECT_TIMEOUT_SECS}s. * {@value GrpcExporterBuilder#DEFAULT_CONNECT_TIMEOUT_SECS}s.
*
* @since 1.36.0
*/ */
public OtlpGrpcSpanExporterBuilder setConnectTimeout(Duration timeout) { public OtlpGrpcSpanExporterBuilder setConnectTimeout(Duration timeout) {
requireNonNull(timeout, "timeout"); requireNonNull(timeout, "timeout");

View File

@ -163,6 +163,8 @@ public interface AutoConfigurationCustomizer {
* customization. The return value of the {@link BiFunction} will replace the passed-in argument. * customization. The return value of the {@link BiFunction} will replace the passed-in argument.
* *
* <p>Multiple calls will execute the customizers in order. * <p>Multiple calls will execute the customizers in order.
*
* @since 1.36.0
*/ */
@SuppressWarnings("UnusedReturnValue") @SuppressWarnings("UnusedReturnValue")
default AutoConfigurationCustomizer addMetricReaderCustomizer( default AutoConfigurationCustomizer addMetricReaderCustomizer(

View File

@ -14,7 +14,11 @@ import java.net.URI;
import java.util.Collections; import java.util.Collections;
import java.util.List; import java.util.List;
/** Configuration for proxy settings. */ /**
* Configuration for proxy settings.
*
* @since 1.36.0
*/
public final class ProxyOptions { public final class ProxyOptions {
private final ProxySelector proxySelector; private final ProxySelector proxySelector;