Hi there @rhcarvalho . We are experiencing the same “problem” in our Angular application after updating Sentry (from “@sentry/browser”: “^5.29.2”, “@sentry/cli”: “^1.61.0”, to “@sentry/browser”: “^6.12.0”, “@sentry/cli”: “^1.68.0”).
I would like to know if the described behavior is “expected”. Is it really meant to send those requests with init true/false all the time? This somehow doesn’t seem right ^^
I am also wondering why this is happening after updating, did this feature get introduced some when after 5.29.2 oder did its behavior change (was the default for autoSessionTracking false before)?
Edit:
I just found out that it was added in version 6.0.0:
Starting from the version 6.0.0 , all SDKs that support sending sessions data will do so by default. See our Release Health docs to learn more.
So the actual question that remains: is it really supposed to send those two requests all the time or do I still have to configure something here?
And in case of an error there should be a second request with "init":false that updates the session marking it unhealthy.
This feature allows you to monitor the health of your releases, and for example identify that a newly deployed release is causing more errors or that, conversely, it reduced the number of errors after deploying a bugfix.
If you don’t want to use this feature, you can disable it: