opentelemetry-js icon indicating copy to clipboard operation
opentelemetry-js copied to clipboard

refactor(instrumentation-xhr): use exported strings for semantic attr…

Open Prashansa-K opened this issue 1 year ago • 1 comments

Which problem is this PR solving?

Updates https://github.com/open-telemetry/opentelemetry-js/issues/4567

Short description of the changes

Replace SemanticAttributes.* with specific exported strings for xml-http-request instrumentation package.

Type of change

Please delete options that are not relevant.

  • [x] Bug fix (non-breaking change which fixes an issue)

Refactoring change which removes the use of deprecated SemanticAttributes.*

How Has This Been Tested?

  • [x] Unit tests

Checklist:

  • [x] Followed the style guidelines of this project
  • [x] Unit tests have been added
  • [x] Documentation has been updated -- NA

Prashansa-K avatar May 06 '24 06:05 Prashansa-K

CLA Signed

The committers listed above are authorized under a signed CLA.

  • :white_check_mark: login: Prashansa-K / name: Prashansa Kulshrestha (2c6b31acc5ebe11991d3060c0e9468cf6cafe637, 60d040504eb636c223fdbcd301b70259d6716868, f13b18b82a570446a6c034bbb03e876a02beac93)
  • :white_check_mark: login: pichlermarc / name: Marc Pichler (b59d29674df447bad113fd4d8fdc23eaae968442)