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

Multiple instances of the Datadog RUM Flutter SDK #645

Open
dustinschultz opened this issue Aug 28, 2024 · 1 comment
Open

Multiple instances of the Datadog RUM Flutter SDK #645

dustinschultz opened this issue Aug 28, 2024 · 1 comment
Labels
enhancement New feature or request gauging-interest We are determining how much interest there is in this feature question Further information is requested

Comments

@dustinschultz
Copy link

Question

Is it possible to have multiple instances of the Datadog RUM Flutter SDK?

We're finding that by only having one, we have to sample at a rate that represents the smallest population for a given path and over capture for the others.

I'd like to be able to set up multiple "applications" for different parts of the mobile app and sample the RUM sessions at a different rate depending on their usage.

@dustinschultz dustinschultz added the question Further information is requested label Aug 28, 2024
@fuzzybinary fuzzybinary added enhancement New feature or request gauging-interest We are determining how much interest there is in this feature labels Aug 28, 2024
@fuzzybinary
Copy link
Member

Not in the Flutter SDK at the moment no. The native SDKs support multiple instances, but that's meant more for SDK monitoring.

If you have enough pre-sampled sessions, you may want to look into tail-based sampling, which was announced at Dash and currently in beta: https://www.datadoghq.com/blog/dash-2024-new-feature-roundup-applications/#dynamically-sample-rum-sessions-with-the-tail-based-sampler

This would allow you to opt in or out of retaining sessions based on the criteria you mentioned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request gauging-interest We are determining how much interest there is in this feature question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants