Description
Is your feature request related to a problem? Please describe.
We use the https://github.com/launchdarkly/ld-relay and https://github.com/launchdarkly/js-client-sdk (wrapped in Dart interop APIs) and would like to get a sense of how long server requests take, from a client perspective. Since those requests originate in the JS code, we can't easily instrument them ourselves.
Describe the solution you'd like
Since https://opentelemetry.io/ is the de facto standard for tracing, it would be great if the JS SDK used its API to instrument the server calls made and provided a hook for us to pass in a tracer provider from the otel SDK.
Describe alternatives you've considered
Capturing network requests (e.g. via service workers) and instrumenting there.
Additional context
Happy to consider alternatives, or maybe there's something I'm missing that already provides this info?
Activity