Skip to content

v1.1.0-beta.12

Pre-release
Pre-release

Choose a tag to compare

@michaelbushe michaelbushe released this 20 Jul 21:24
· 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:logging bridge, 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.key resolves to the identical registry string.

Fixed

  • host.arch no longer reports the hostname (#90). The IO resource
    detector copy-pasted Platform.localHostname into host.arch; it now
    resolves the real CPU architecture (amd64/arm64/arm32/x86/…)
    from Platform.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 malformed host.os.name is corrected to os.name.

Removed

  • The IO resource detector no longer emits host.processors,
    host.locale, or process.num_threads — none are OpenTelemetry
    registry attributes.