github open-telemetry/opentelemetry-js experimental/v0.201.0

3 months ago

0.201.0

🚀 Features

  • feat(instrumentation-xml-http-request): support migration to stable HTTP semconv, v1.23.1 #5662 @trentm
    • Configure the instrumentation with semconvStabilityOptIn: 'http' to use the new, stable semconv v1.23.1 semantics or 'http/dup' for both old (v1.7.0) and stable semantics. When semconvStabilityOptIn is not specified (or does not contain these values), it uses the old semconv v1.7.0. I.e. the default behavior is unchanged.
  • feat(instrumentation-fetch): support migration to stable HTTP semconv, v1.23.1 #5651 @trentm
    • Configure the instrumentation with semconvStabilityOptIn: 'http' to use the new, stable semconv v1.23.1 semantics or 'http/dup' for both old (v1.7.0) and stable semantics. When semconvStabilityOptIn is not specified (or does not contain these values), it uses the old semconv v1.7.0. I.e. the default behavior is unchanged.
  • feat(instrumentation): New semconvStabilityFromStr() utility for semconv stability migration in instrumentations. #5684 @trentm
  • feat(instrumentation-grpc): support migration to stable HTTP semconv #5653 @JamieDanielson
  • feat(instrumentation-http): capture synthetic source type on requests #5488 @JacksonWeber

🐛 Bug Fixes

  • fix(otlp-transformer): do not throw when deserializing empty JSON response #5551 @pichlermarc
  • fix(instrumentation-http): report stable client metrics response code #9586 @jtescher
  • fix(sdk-node): instantiate baggage processor when env var is set #5634 @pichlermarc

🏠 Internal

  • refactor(instrumentation-http): Remove legacy http span attributes and metrics #5552 @svetlanabrennan
  • refactor(instrumentation-http): Add back support for http semconv #5665 @JamieDanielson
    • Note: We initially removed support for legacy http attributes and metrics, but then added back for an additional 6 months to ensure all instrumentations could be updated and kept consistent. There should be no net new change in this instrumentation related to these semantic conventions. See #5646 for details.
  • refactor(sdk-node): update semconv usage to ATTR_ exports #5668 @trentm
  • chore(sdk-node): Refactored using get*FromEnv utility function instead of process.env for NodeSDK's resource detector setup. #5582 @beeme1mr
  • chore(sdk-node): Refactored using get*FromEnv utility function instead of process.env for NodeSDK's logging setup. #5563 @weyert
  • test: test Node.js 24 in CI #5661 @cjihrig

Don't miss a new opentelemetry-js release

NewReleases is sending notifications on new releases.