v0.15.1
[!NOTE] This release is binary compatible with 0.15.0.
[!WARNING] If you use opentelemetry-java 1.59.0, please use otel4s 0.15.1.
Key changes
Support for complex attributes
You can use AnyValue directly with Attribute, allowing nested and structured values:
import org.typelevel.otel4s.AnyValue
import org.typelevel.otel4s.Attribute
val anyValue: AnyValue = AnyValue.map(
Map(
"nested-string" -> AnyValue.string("string"),
"nested-long" -> AnyValue.long(123L)
)
)
val attribute = Attribute("anyValueAttribute", anyValue)
This change is mandated by the OpenTelemetry specification.
Semantic Conventions 1.39.0
Semantic conventions are regenerated using version 1.39.0 of the OpenTelemetry semconv specification.
What's Changed
Core
- Support complex attributes by @iRevive in https://github.com/typelevel/otel4s/pull/1174
Semantic Conventions
- Update opentelemetry-semconv to 1.39.0 by @typelevel-steward[bot] in https://github.com/typelevel/otel4s/pull/1170
Documentation
- Added Dash0 example by @CodingFabian in https://github.com/typelevel/otel4s/pull/1166
Dependencies
- Update scalafmt-core to 3.10.5 by @typelevel-steward[bot] in https://github.com/typelevel/otel4s/pull/1169
- flake.lock: Update by @typelevel-steward[bot] in https://github.com/typelevel/otel4s/pull/1168
- Update scalafmt-core to 3.10.6 by @typelevel-steward[bot] in https://github.com/typelevel/otel4s/pull/1171
New Contributors
- @CodingFabian made their first contribution in https://github.com/typelevel/otel4s/pull/1166
Full Changelog: https://github.com/typelevel/otel4s/compare/v0.15.0...v0.15.1