Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(examples/https): use new exported string constants for semconv #4753

Merged
merged 2 commits into from
Jun 4, 2024

Conversation

Zen-cronic
Copy link
Contributor

Which problem is this PR solving?

Updates #4567

Short description of the changes

Replaced deprecated import (SemanticResourceAttributes) from @opentelemetry/semantic-conventions with new string constants (SEMRESATTRS_SERVICE_NAME) for the example https package

Type of change

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

How Has This Been Tested?

  • npm test (no tests for examples?)

Checklist:

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

@Zen-cronic Zen-cronic requested a review from a team June 3, 2024 18:16
@Zen-cronic
Copy link
Contributor Author

I'll update the changelog entry after all the examples package have been updated. If the entry should be for each update, then do let me know.

@pichlermarc
Copy link
Member

Thx 🙂

I'll update the changelog entry after all the examples package have been updated. If the entry should be for each update, then do let me know.

I think we generally skip the changelog entry for examples so no need to add it 🙂

@pichlermarc pichlermarc added this pull request to the merge queue Jun 4, 2024
Merged via the queue into open-telemetry:main with commit 0ce7d94 Jun 4, 2024
19 checks passed
@Zen-cronic
Copy link
Contributor Author

I think we generally skip the changelog entry for examples so no need to add it 🙂

Okay, noted

Zirak pushed a commit to Zirak/opentelemetry-js that referenced this pull request Sep 14, 2024
…nv (open-telemetry#4753)

* refactor(examples/https): use new exported string constants for semconv

* refactor(examples/https): use new exported string constants for semconv in the https example
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants