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

Suggested solution to disable RUM initialization for worker #642

Closed
wants to merge 2 commits into from

Conversation

surbhimaheshwari
Copy link
Contributor

This solution leverages Shared Preferences to initialize the RUM. The default value in Shared preferences is set to true. Thus when the app is launched, the SplunkRum is initialized and whenever worker is enqueued and backgroundService is run in doWork, we change the key in SHaredPreference to false, which is read in Application.java to not initialize RUM.

Lucid chart:
https://lucid.app/lucidchart/7d8a8cc9-b495-4659-8c41-bc934552745f/edit?view_items=qU5uVi6f-co2&invitationId=inv_c07e838d-c25a-4a24-ad3c-41f9499f66eb
Uploading Screenshot 2023-09-15 at 10.05.51 AM.png…

@github-actions github-actions bot locked and limited conversation to collaborators Oct 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant