Skip to content

Commit d5bb476

Browse files
authored
Prepare changelog for 1.17.0 release (#4683)
* Prepare changelog for 1.17.0 release * Add changelog entry for zipkinspanexporter metrics * Add more details
1 parent 323174a commit d5bb476

File tree

2 files changed

+57
-0
lines changed

2 files changed

+57
-0
lines changed

CHANGELOG.md

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,60 @@
22

33
## Unreleased
44

5+
### API
6+
7+
#### API Extensions
8+
9+
* DEPRECATION: the `opentelemetry-extension-annotations` module containing `@WithSpan`
10+
and `@SpanAttribute` annotations has been deprecated for removal in next major version. A copy of
11+
the code will instead be maintained
12+
in [opentelemetry-java-instrumentation/instrumentation-annotations](https://github.com/open-telemetry/opentelemetry-java-instrumentation/tree/main/instrumentation-annotations)
13+
and published under
14+
coordinates `io.opentelemetry.instrumentation:opentelemetry-instrumentation-annotations:{version}`.
15+
16+
### SDK
17+
18+
#### Traces
19+
20+
* Add default implementation for `SpanData#getInstrumentationScopeInfo()`
21+
and `ReadableSpan#getInstrumentationScopeInfo()`. This fixes a previous mistake where those
22+
interfaces were extended without default implementation, a breaking change for source
23+
compatibility. Stricter checks have been added to ensure this mistake is not repeated.
24+
25+
#### Logs
26+
27+
* BREAKING: delete `LogDataBuilder`. A similar implementation of `LogData` called `TestLogData` has
28+
been added to `opentelemetry-sdk-logs-testing`.
29+
* BREAKING: rename `LogProcessor#emit(LogData)` to `LogProcessor#onEmit(ReadWriteLogRecord)`. The
30+
argument change from `LogData` to `ReadWriteLogRecord` allows implementations to mutate logs. To
31+
obtain `LogData`, call `ReadWriteLogRecord#toLogData()`.
32+
* Optimize `SdkLogEmitterProvider` to return noop `LogEmitter` when no `LogProcessor`s are
33+
registered.
34+
35+
#### Exporter
36+
37+
* Split out shared and internal exporter classes from `opentelemetry-exporter-otlp-common`
38+
to `opentelemetry-exporter-common`.
39+
* Add experimental support for OTLP header based authentication. To use, add a dependency
40+
on `opentelemetry-exporter-common` and
41+
call `io.opentelemetry.exporter.internal.auth.Authenticator#setAuthenticatorOnDelegate(OtlpHttp{Signal}Builder, Authenticator)`.
42+
* Add ability to collect export metrics on `ZipkinSpanExporter`
43+
via `ZipkinSpanExporter#setMeterProvider(MeterProvider)`.
44+
* Minor optimization to OkHttp based exporters to cache endpoint URLs. Applies
45+
to `OtlpHttp{Signal}Exporter`, `OtlpGrpc{Signal}Exporter`, and more.
46+
* Fix diagnostic log message in `OtlpGrpc{Signal}Exporter` to include correct environment variables.
47+
48+
#### SDK Extensions
49+
50+
* Extend View file based configuration with support for specifying explicit bucket histogram bucket
51+
boundaries and exponential bucket counts.
52+
* Extend autoconfigure SPI `AutoConfigurationCustomizerProvider` and `ResourceProvider` with option
53+
to specify ordering.
54+
* Add autoconfigure SPI with `ConfigurableLogExporterProvider`, allowing custom named log exporters
55+
to be provided and selected via autoconfigure.
56+
* Extend autoconfigure SPI with `AutoConfigurationCustomizer#addPropertiesCustomizer`, providing the
57+
ability examine current configuration properties and add / overwrite properties.
58+
559
## Version 1.16.0 (2022-07-13)
660

761
### API

exporters/zipkin/src/main/java/io/opentelemetry/exporter/zipkin/ZipkinSpanExporterBuilder.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,9 @@ public ZipkinSpanExporterBuilder setReadTimeout(Duration timeout) {
9797
/**
9898
* Sets the {@link MeterProvider} to use to collect metrics related to export. If not set, metrics
9999
* will not be collected.
100+
*
101+
* @return this.
102+
* @since 1.17.0
100103
*/
101104
public ZipkinSpanExporterBuilder setMeterProvider(MeterProvider meterProvider) {
102105
requireNonNull(meterProvider, "meterProvider");

0 commit comments

Comments
 (0)