Skip to content

update examples for setting up resource attributes in JS #7252

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jpmunz
Copy link
Contributor

@jpmunz jpmunz commented Jul 2, 2025

Addressing this issue: github.com//issues/7206

The React Native code in the demo is also needs to be updated to match this example code snippet: open-telemetry/opentelemetry-demo#2331

The Frontend code example was already correct in the demo repo so just updated the code snippet to match: https://github.com/open-telemetry/opentelemetry-demo/blob/96b292d5f3281d1bbde0309a8d9325475f356a4b/src/frontend/utils/telemetry/FrontendTracer.ts#L24

Copy link
Contributor

@tiffany76 tiffany76 left a comment

Choose a reason for hiding this comment

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

Thanks, @jpmunz! We can hold off merging this until the demo repo updates are merged.

@svrnm
Copy link
Member

svrnm commented Jul 9, 2025

@open-telemetry/demo-approvers PTAL

@open-telemetry/javascript-approvers I assume this change also needs to be done in the JS docs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

4 participants