Skip to content

Use updated attributes with ATTR prefix in all packages #4896

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

Closed
Tracked by #4572
JamieDanielson opened this issue Aug 1, 2024 · 4 comments
Closed
Tracked by #4572

Use updated attributes with ATTR prefix in all packages #4896

JamieDanielson opened this issue Aug 1, 2024 · 4 comments
Assignees

Comments

@JamieDanielson
Copy link
Member

JamieDanielson commented Aug 1, 2024

This is part of Semantic Convention Update: Tracking Issue #4572.

This issue is for changing SEMRESATTRS_ and SEMATTRS_ prefixes to just ATTR_ for attributes. No new attributes should be added in this change.

Note: Import @opentelemetry/semantic-conventions for stable semantic conventions. Use a local semconv.ts file for unstable semantic conventions. There is a script in js-contrib to generate the local file.

Copy link

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days.

@trentm
Copy link
Contributor

trentm commented Nov 20, 2024

We need to sort out #5182 to know what to do for unstable semconv values used in core packages.

trentm added a commit to trentm/opentelemetry-js that referenced this issue Nov 20, 2024
trentm added a commit to trentm/opentelemetry-js that referenced this issue May 8, 2025
This also updates these doc examples to closer to modern/stable
HTTP and DB semantics. They are just examples though so I wasn't
extremely careful.

Refs: open-telemetry#4896
@trentm trentm self-assigned this May 8, 2025
@trentm trentm removed the blocked Currently blocked on another item label May 8, 2025
trentm added a commit to trentm/opentelemetry-js that referenced this issue May 9, 2025
trentm added a commit to trentm/opentelemetry-js that referenced this issue May 9, 2025
This also removes a number of exports from
test/util/resource-assertions.ts that were unused.

Refs: open-telemetry#4896
trentm added a commit to trentm/opentelemetry-js that referenced this issue May 9, 2025
trentm added a commit to trentm/opentelemetry-js that referenced this issue May 9, 2025
trentm added a commit to trentm/opentelemetry-js that referenced this issue May 9, 2025
This also moves the semantic-conventions dep to a devDep, because
it is no longer used in the runtime code.

Refs: open-telemetry#4896
trentm added a commit to trentm/opentelemetry-js that referenced this issue May 9, 2025
trentm added a commit to trentm/opentelemetry-js that referenced this issue May 9, 2025
trentm added a commit to trentm/opentelemetry-js that referenced this issue May 9, 2025
@trentm
Copy link
Contributor

trentm commented May 9, 2025

^^^ The PRs above handle updating all usage of the old deprecated semconv package exports (along with #5662).

@trentm
Copy link
Contributor

trentm commented May 9, 2025

Once #5662 goes in, I believe this is done.

@trentm trentm closed this as completed May 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants