Skip to content

Commit

Permalink
Add changelog entry for 1.16.0 (open-telemetry#4603)
Browse files Browse the repository at this point in the history
* Add changelog entry for 1.16.0

* Change heading to ## Unreleased
  • Loading branch information
jack-berg authored Jul 13, 2022
1 parent 1566a1b commit 9c3a98c
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 3 deletions.
48 changes: 47 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,52 @@
# Changelog

## Version 1.15.0 (Unreleased)
## Unreleased

### API

* Fix bug `ImmutableKeyValuePairs` implementation that causes `ArrayIndexOutOfBoundsException` to be
thrown under certain conditions.

### SDK

#### Traces

* Optimize `BatchSpanProcessor` using JcTools.

#### Metrics

* Tighten up exponential histogram implementation for alignment with specification: Default to 160
positive and negative buckets. Remove ability to configure starting scale. Minimum number of
buckets is one instead of zero.
* Allow `MetricExporter` and `MetricReader` to influence default aggregation. The default
aggregation is used when no registered views match an instrument.

#### Exporter

* Fix handling of client keys in PEM format.
* For OTLP exporters, change behavior to use `OkHttpGrpcExporter` (OkHttp implementation that
doesn't use any gRPC dependencies) unless `OtlpGrpc{Signal}Builder#setChannel(ManagedChannel)` is
called by user. Previously, `OkHttpGrpcExporter` was used if no gRPC implementation was found on
classpath.
* Add support to configure default aggregation on OTLP metric exporters
via `Otlp{Protocol}MetricExporterBuilder#setDefaultAggregationSelector(DefaultAggregationSelector)`.

#### Testing

* Add span status assertions.

#### SDK Extensions

* Autoconfigure properly handles non-string system properties.
* Autoconfigure normalizes hyphens `-` to periods `.` when accessing `ConfigProperties`.

### OpenTracing Shim

* Add support for span wrappers.
* Store OpenTracing `SpanContext` in OpenTracing `Span` wrapper.
* Use `Baggage` of active span.

## Version 1.15.0 (2022-06-10)

### API

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,11 @@ public SpanDataAssert hasLinksSatisfying(Consumer<List<? extends LinkData>> cond
return this;
}

/** Asserts the span has the given {@link StatusData}. */
/**
* Asserts the span has the given {@link StatusData}.
*
* @since 1.16.0
*/
public SpanDataAssert hasStatus(StatusData status) {
isNotNull();
if (!actual.getStatus().equals(status)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@
import javax.annotation.Nullable;
import org.assertj.core.api.AbstractAssert;

/** Assertions for the {@link StatusData} of an exported {@link SpanData}. */
/**
* Assertions for the {@link StatusData} of an exported {@link SpanData}.
*
* @since 1.16.0
*/
public final class StatusDataAssert extends AbstractAssert<StatusDataAssert, StatusData> {

StatusDataAssert(@Nullable StatusData statusData) {
Expand Down

0 comments on commit 9c3a98c

Please sign in to comment.