Prepare 1.44.0 (#6861)

This commit is contained in:
jack-berg 2024-11-08 11:42:51 -06:00 committed by GitHub
parent b5fab78314
commit e38ebf5dc3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 71 additions and 4 deletions

View File

@ -2,6 +2,63 @@
## Unreleased
### API
* Fix ConfigUtil#getString ConcurrentModificationException
([#6841](https://github.com/open-telemetry/opentelemetry-java/pull/6841))
### SDK
#### Traces
* Stabilize ExceptionEventData
([#6795](https://github.com/open-telemetry/opentelemetry-java/pull/6795))
#### Metrics
* Stabilize metric cardinality limits
([#6794](https://github.com/open-telemetry/opentelemetry-java/pull/6794))
* Refactor metrics internals to remove MeterSharedState
([#6845](https://github.com/open-telemetry/opentelemetry-java/pull/6845))
#### Exporters
* Add memory mode option to stdout exporters
([#6774](https://github.com/open-telemetry/opentelemetry-java/pull/6774))
* Log a warning if OTLP endpoint port is likely incorrect given the protocol
([#6813](https://github.com/open-telemetry/opentelemetry-java/pull/6813))
* Fix OTLP gRPC retry mechanism for unsuccessful HTTP responses
([#6829](https://github.com/open-telemetry/opentelemetry-java/pull/6829))
* Add ByteBuffer field type marshaling support
([#6686](https://github.com/open-telemetry/opentelemetry-java/pull/6686))
* Fix stdout exporter format by adding newline after each export
([#6848](https://github.com/open-telemetry/opentelemetry-java/pull/6848))
* Enable `reusuable_data` memory mode by default for `OtlpGrpc{Signal}Exporter`,
`OtlpHttp{Signal}Exporter`, `OtlpStdout{Signal}Exporter`, and `PrometheusHttpServer`
([#6799](https://github.com/open-telemetry/opentelemetry-java/pull/6799))
#### Extension
* Rebrand file configuration to declarative configuration in documentation
([#6812](https://github.com/open-telemetry/opentelemetry-java/pull/6812))
* Fix declarative config `file_format` validation
([#6786](https://github.com/open-telemetry/opentelemetry-java/pull/6786))
* Fix declarative config env substitution by disallowing '}' in default value
([#6793](https://github.com/open-telemetry/opentelemetry-java/pull/6793))
* Set declarative config default OTLP protocol to http/protobuf
([#6800](https://github.com/open-telemetry/opentelemetry-java/pull/6800))
* Stabilize autoconfigure disabling of resource keys via `otel.resource.disabled.keys`
([#6809](https://github.com/open-telemetry/opentelemetry-java/pull/6809))
### Tooling
* Run tests on Java 23
([#6825](https://github.com/open-telemetry/opentelemetry-java/pull/6825))
* Test Windows in CI
([#6824](https://github.com/open-telemetry/opentelemetry-java/pull/6824))
* Add error prone checks for internal javadoc and private constructors
([#6844](https://github.com/open-telemetry/opentelemetry-java/pull/6844))
## Version 1.43.0 (2024-10-11)
### API

View File

@ -139,6 +139,8 @@ public final class SdkMeterProviderBuilder {
*
* <p>If {@link #registerMetricReader(MetricReader)} is used, the {@link
* CardinalityLimitSelector#defaultCardinalityLimitSelector()} is used.
*
* @since 1.44.0
*/
public SdkMeterProviderBuilder registerMetricReader(
MetricReader reader, CardinalityLimitSelector cardinalityLimitSelector) {

View File

@ -60,7 +60,11 @@ public abstract class View {
/** Returns the attribute processor used for this view. */
abstract AttributesProcessor getAttributesProcessor();
/** Returns the cardinality limit for this view. */
/**
* Returns the cardinality limit for this view.
*
* @since 1.44.0
*/
public abstract int getCardinalityLimit();
@Override

View File

@ -114,6 +114,7 @@ public final class ViewBuilder {
* limit.
*
* @param cardinalityLimit the maximum number of series for a metric
* @since 1.44.0
*/
public ViewBuilder setCardinalityLimit(int cardinalityLimit) {
if (cardinalityLimit <= 0) {

View File

@ -14,8 +14,7 @@ import io.opentelemetry.sdk.metrics.internal.state.MetricStorage;
* function of {@link InstrumentType}. Register via {@link
* SdkMeterProviderBuilder#registerMetricReader(MetricReader, CardinalityLimitSelector)}.
*
* <p>This class is internal and is hence not for public use. Its APIs are unstable and can change
* at any time.
* @since 1.44.0
*/
@FunctionalInterface
public interface CardinalityLimitSelector {

View File

@ -8,7 +8,11 @@ package io.opentelemetry.sdk.trace.data;
import io.opentelemetry.api.common.Attributes;
import javax.annotation.concurrent.Immutable;
/** Data representation of an event for a recorded exception. */
/**
* Data representation of an event for a recorded exception.
*
* @since 1.44.0
*/
@Immutable
public interface ExceptionEventData extends EventData {