v1.1.0-beta.12
Pre-release
Pre-release
·
36 commits
to main
since this release
Changed
- Internal attribute keys now come from the generated registry enums
(Service.*,ExceptionAttributes.*,Otel.*) instead of string
literals, across resource creation, exception recording, the
package:loggingbridge, the OTLP span/log transformers, the sampler,
and the env resource-attribute parsing. A mistyped key is now a compile
error — the same hardening applied to the resource detector after #90.
No wire change:Enum.keyresolves to the identical registry string.
Fixed
host.archno longer reports the hostname (#90). The IO resource
detector copy-pastedPlatform.localHostnameintohost.arch; it now
resolves the real CPU architecture (amd64/arm64/arm32/x86/…)
fromPlatform.version, mapped to registry values, and omits the
attribute when it can't be parsed. Fixes downstream consumers that
select per-architecture artifacts (e.g. debug symbols) off the resource.- The IO detector now keys every attribute from the generated registry
enums (Host.*,Os.*,ProcessAttributes.*) instead of string
literals, so a mistyped key is a compile error — the class of bug that
caused #90. The malformedhost.os.nameis corrected toos.name.
Removed
- The IO resource detector no longer emits
host.processors,
host.locale, orprocess.num_threads— none are OpenTelemetry
registry attributes.