44
55### API
66
7+ #### Bugfixes
8+
9+ - Usages of tracers and meters on all ` OpenTelemetry ` instances were being delegated to the global Meter and Tracer.
10+ This has been corrected, and all instances should have independent Tracer and Meter instances.
11+
712#### Breaking Changes
813
914- The ` AttributesBuilder ` no long accepts null values for array-valued attributes with numeric or boolean types.
1015- The ` TextMapPropagator.fields() ` method now returns a ` Collection ` rather than a ` List ` .
1116- ` Labels ` has been converted to an interface, from an abstract class. Its API has otherwise remained the same.
1217- ` TraceState ` has been converted to an interface, from an abstract class. Its API has otherwise remained the same.
1318- ` Attributes ` has been converted to an interface, from an abstract class. Its API has otherwise remained the same.
19+ - The ` ReadableAttributes ` interface has been removed, as it was redundant with the ` Attributes ` interface. All APIs that
20+ used or returned ` ReadableAttributes ` should accept or return standard ` Attributes ` implementations.
1421- ` SpanContext ` has been converted to an interface, from an abstract class. Its API has otherwise remained the same.
22+ - The functional ` AttributeConsumer ` interface has been removed and replaced with a standard ` java.util.function.BiConsumer ` .
23+ - The signature of the ` BaggageBuilder.put(String, String, EntryMetadata entryMetadata) `
24+ method has been changed to ` put(String, String, BaggageEntryMetadata) `
1525
1626#### Enhancements
1727
1828- A ` builder() ` method has been added to the OpenTelemetry interface to facilitate constructing implementations.
1929- An ` asMap() ` method has been added to the ` Attributes ` interface to enable conversion to a standard ` java.util.Map ` .
30+ - An ` asMap() ` method has been added to the ` Baggage ` interface to enable conversion to a standard ` java.util.Map ` .
31+ - An ` asMap() ` method has been added to the ` TraceState ` interface to enable conversion to a standard ` java.util.Map ` .
2032- The Semantic Attributes constants have been updated to the version in the yaml spec as of Dec 1, 2020.
2133
2234#### Miscellaneous
@@ -29,11 +41,13 @@ You can access the same functionality via static methods on the `ContextPropagat
2941- The ` setCallback() ` method on the asynchronous metric instruments has been deprecated and will be removed in 0.13.0.
3042Instead, use the ` setCallback() ` method on the builder for the instruments.
3143- The ` value() ` method on the ` StatusCode ` enum has been deprecated and will be removed in 0.13.0.
44+ - The Baggage ` EntryMetadata ` class has been deprecated in favor of the ` BaggageEntryMetadata ` interface. The class will be made non-public in 0.13.0.
3245
3346### Extensions
3447
3548- The ` opentelemetry-extension-runtime-metrics ` module has been deprecated. The functionality is available in the
3649opentelemetry-java-instrumentation project under a different module name. The module here will be removed in 0.13.0.
50+ - The ` trace-utils ` module has been deprecated. If you need this module, please let us know! The module will be removed in 0.13.0.
3751
3852### SDK
3953
@@ -45,7 +59,8 @@ opentelemetry-java-instrumentation project under a different module name. The mo
4559
4660#### Enhancements
4761
48- - The OpenTelemetrySdk builder now supports the addition of SpanProcessors to the resulting SDK.
62+ - The OpenTelemetrySdk builder now supports the addition of ` SpanProcessor ` s to the resulting SDK.
63+ - The OpenTelemetrySdk builder now supports the assignment of an ` IdGenerator ` to the resulting SDK.
4964- The ` ReadableSpan ` interface now exposes the ` Span.Kind ` of the span.
5065- The SDK no longer depends on the guava library.
5166- The parent SpanContext is now exposed on the ` SpanData ` interface.
@@ -74,6 +89,7 @@ and the classes in it have been repackaged into the `io.opentelemetry.sdk.extens
7489
7590- The ` opentelemetry-sdk-extension-resources ` now includes resource attributes for the process runtime via the ` ProcessRuntimeResource ` class.
7691This is included in the Resource SPI implementation that the module provides.
92+ - The ` opentelemetry-sdk-extension-aws ` extension now will auto-detect AWS Lambda resource attributes.
7793
7894-----
7995
0 commit comments