Sentry sends event every route change

Hi,

Sentry sends custom events every route change. I don’t want to send events on route change. Example event is in the bellow.

Url: api/5/envelope/?sentry_key={apikey}
Payload:
{“sent_at”:“2021-03-06T10:49:25.255Z”,“sdk”:{“name”:“sentry.javascript.browser”,“version”:“6.1.0”}}
{“type”:“session”}
{“sid”:"{sid}",“init”:false,“started”:“2021-03-05T15:12:38.147Z”,“timestamp”:“2021-03-06T10:49:25.255Z”,“status”:“exited”,“errors”:0,“duration”:70607108,“attrs”:{“release”:“34fa54f”,“environment”:“development”}}

Hi @cank,

These are to track session health and performance: Performance Monitoring | Sentry Documentation

Thank you.

I found that,
the autoSessionTracking: true since sentry-javascript 6.0.0 If we want to opt-out we can configure autoSessionTracking: false

Thank you.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.