OpenTelemetry - CNCF/opentelemetry-java: Release v1.12.0
Name: opentelemetry-java
Owner: OpenTelemetry - CNCF
Release: Version 1.12.0
Released: 2022-03-04
License: Apache-2.0
Release Assets:
This release includes many breaking changes to the metrics SDK as we move towards marking its first stable release.
Notably, if you configure metric Views or have written a custom metric exporter, many of the classes and methods will
have been moved or renamed. There are still a few remaining cleanups targeted for the next release after which there
should not be many. Thanks for bearing with us on this.
API
- New methods have been added to
Contextto propagate context for common Java 8 callback types AttributesBuilder.putnow supports vararg versions for lists withAttributeKey- Multiple metric async callbacks can be registered for the same instrument, and callbacks can be removed
SDK
- An issue with Android desugaring of the SDK has been worked around
- EXPERIMENTAL: Support for disabling resource keys with
OTEL_EXPERIMENTAL_RESOURCE_DISABLED_KEYS - Fixed handling of
schemaUrlinResource.toBuilder() - BREAKING: Many changes to
Dataclasses used during export - BREAKING: Many view configuration methods have been removed
Metrics
- APIs deprecated in the previous release have been removed
- DEPRECATION:
PrometheusCollectorfor exporting OpenTelemetry metrics with the prometheus client library has been deprecated - EXPERIMENTAL: File-based configuration of views
- Prometheus exporter now supports JPMS modules
Logs
- DEPRECATION:
LogData.getNamehas been deprecated for removal