Skip to content

Conversation

@Prashansa-K
Copy link
Contributor

@Prashansa-K Prashansa-K commented May 6, 2024

Which problem is this PR solving?

Updates #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.

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

Refactoring change which removes the use of deprecated SemanticAttributes.*

How Has This Been Tested?

  • Unit tests

Checklist:

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

@Prashansa-K Prashansa-K requested a review from a team May 6, 2024 06:57
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented May 6, 2024

CLA Signed

The committers listed above are authorized under a signed CLA.

Signed-off-by: Prashansa Kulshrestha <[email protected]>
Copy link
Member

@pichlermarc pichlermarc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good, just one nit.

…SE_CONTENT_SIZE to new exported string

Signed-off-by: Prashansa Kulshrestha <[email protected]>
@pichlermarc pichlermarc added this pull request to the merge queue Jun 4, 2024
Merged via the queue into open-telemetry:main with commit 315239d Jun 4, 2024
Zirak pushed a commit to Zirak/opentelemetry-js that referenced this pull request Sep 14, 2024
open-telemetry#4681)

* refactor(instrumentation-xhr): use exported strings for semantic attributes

Signed-off-by: Prashansa Kulshrestha <[email protected]>

* Updated changelog entry with PR id and link

Signed-off-by: Prashansa Kulshrestha <[email protected]>

* Changed normal string to template string and replaced old HTTP_RESPONSE_CONTENT_SIZE to new exported string

Signed-off-by: Prashansa Kulshrestha <[email protected]>

---------

Signed-off-by: Prashansa Kulshrestha <[email protected]>
Co-authored-by: Marc Pichler <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants