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

Is it possible to instrument http/https/fetch captures from a ReactJS client? #691

Open
shaundclements opened this issue Oct 14, 2024 · 2 comments

Comments

@shaundclements
Copy link

Seems a gap in that XRay offers a great trace service but is limited to lambda invocation tracing only.
Unless I am missing some guidance.
I read about http/https/fetch tracing but there does not appear to be support for capturing these requests from a ReactJs client (outside of a lambda).
I am trying to correlate potentially multiple lambda or AWS sdk client calls made from a react client

Thanks for answering community

@mxiamxia
Copy link
Contributor

React web client is supported by OpenTelemetry SDK and X-Ray encourage their customers movin to OTel SDK as well. For lambda support with X-Ray & OTel.

https://opentelemetry.io/docs/demo/services/frontend/

@shaundclements
Copy link
Author

@mxiamxia any reason you didn't recommend https://github.com/aws-observability/aws-rum-web which has support for XRay tracing?
Seems alot less effort to rollout in a react client than opentelemetry

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

No branches or pull requests

2 participants