Skip to content

Commit

Permalink
Prepare 1.44.0 (#6861)
Browse files Browse the repository at this point in the history
  • Loading branch information
jack-berg authored Nov 8, 2024
1 parent b5fab78 commit e38ebf5
Show file tree
Hide file tree
Showing 6 changed files with 71 additions and 4 deletions.
57 changes: 57 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,8 @@ public SdkMeterProviderBuilder registerMetricReader(MetricReader reader) {
*
* <p>If {@link #registerMetricReader(MetricReader)} is used, the {@link
* CardinalityLimitSelector#defaultCardinalityLimitSelector()} is used.
*
* @since 1.44.0
*/
public SdkMeterProviderBuilder registerMetricReader(
MetricReader reader, CardinalityLimitSelector cardinalityLimitSelector) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,11 @@ static View create(
/** 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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ ViewBuilder addAttributesProcessor(AttributesProcessor attributesProcessor) {
* limit.
*
* @param cardinalityLimit the maximum number of series for a metric
* @since 1.44.0
*/
public ViewBuilder setCardinalityLimit(int cardinalityLimit) {
if (cardinalityLimit <= 0) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@
* 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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@
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 {

Expand Down

0 comments on commit e38ebf5

Please sign in to comment.