|
2 | 2 |
|
3 | 3 | ## Unreleased |
4 | 4 |
|
| 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 | + |
5 | 59 | ## Version 1.16.0 (2022-07-13) |
6 | 60 |
|
7 | 61 | ### API |
|
0 commit comments