This release continues preparation for the stable release of the metrics API. APIs deprecated in RC1 have been removed. It is expected for 1.10.0 to release with the same API as this release.
API
- Performance of
GlobalOpenTelemetry.get
improved buildWithCallback
for asynchronous metrics now return interfaces instead of void. The interfaces are empty but will allow adding functionality in the future- BREAKING CHANGE:
Double/LongMeasurement.observe
have been removed - BREAKING CHANGE:
GlobalMeterProvider
has been removed - BREAKING CHANGE:
ObservableMeasurement
, an empty interface, has been removed. This type was not previously deprecated but is expected to have no use in apps due to the lack of functionality
SDK
- HTTP exporters now support experimental retry
- Deprecated methods have been removed from the
opentelemetry-sdk-autoconfigure
artifact.
Metrics
InMemoryMetricExporter
has been moved to theopentelemetry-sdk-metrics-testing
artifact. The current class has been deprecated in this release- Metric instrument usage violations consistently report issues as debug logs
Logs
- A
opentelemetry-sdk-logs-testing
module has been added SdkLogEmitterProvider
is now available throughOpenTelemetrySdk
AWS
- HTTP requests now use OkHttp instead of the JDK
OpenCensus Shim
- Shim span attributes are set before the span is created instead of after
- Exceptions are not thrown when activating a null span
Full Changelog: v1.10.0-rc.1...v1.10.0-rc.2