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

Browser support #48

Closed
stephen opened this issue Apr 11, 2018 · 6 comments
Closed

Browser support #48

stephen opened this issue Apr 11, 2018 · 6 comments
Labels

Comments

@stephen
Copy link

stephen commented Apr 11, 2018

What parts are missing for this package to work in the browser? Is there a plan overall for traces from frontends?

Our datadog agents aren't exposed to the public internet, so we're thinking of having a small ingestion proxy that forwards spans. I think that means we'd want to plug in a custom write method or similar.

@rochdev
Copy link
Member

rochdev commented Apr 20, 2018

This is not planned at the moment as we are focusing on having feature complete Node support.

However, to answer your question and for future reference:

  • Ability to run the test suite in the browser (zuul?)
  • Ability to run benchmarks in the browser
  • Browser platform
  • Support for browser plugins The instrumenter is not compatible with platforms other than Node #63
  • Support for bundlers with CommonJS / AMD
  • Build script to generate a distribution that can be loaded locally or from a CDN
  • Some kind of interceptor system to support backend authentication
  • Minified and optionally GZip distributions
  • Sourcemaps
  • Documentation

@Paskalouis
Copy link

Hi,

Is there any update regarding this feature request ?
Now I stumbled upon working on integrating datadog into the frontend.
In this case, I am using Vue. I see another similar issue (#233) about integrating to React/ReactNative .

Thanks !

@rochdev
Copy link
Member

rochdev commented Jul 26, 2019

I don't have any updates at the moment unfortunately.

However, we have recently released our RUM product in private beta.

@Paskalouis Would that fit your use case?

@timiyay
Copy link

timiyay commented Aug 3, 2020

What is the status of browser support for this package?

We've just started assessing the Real User Monitoring (RUM) Traces feature, which uses this library to correlate RUM requests with APM requests. This implies that dd-trace will be deployed to a browser.

@rochdev
Copy link
Member

rochdev commented Aug 3, 2020

@timiyay While dd-trace has beta support for the browser with limited functionality, it is indeed currently required to correlate RUM and APM. We are however working on a change that should remove this requirement in the next few weeks. Once the change lands, you will only need to add dd-trace in the browser if you want to do actual tracing, but not for simply correlating RUM and APM.

@rochdev
Copy link
Member

rochdev commented Apr 27, 2021

Closing as browser support has been moved from APM to RUM. Tracing can be enabled on the browser SDK with the allowedTracingOrigins configuration options.

@rochdev rochdev closed this as completed Apr 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants