SessionTiming
Adds session timing data to events. (deprecated)
Deprecation Notice
The SessionTiming
Integration was removed in version 9 of the SDK. To capture session durations alongside events, we recommend using Context.
Import name: Sentry.sessionTimingIntegration
This integration adds duration data for sessions to events.
Copied
import * as Sentry from "@sentry/browser";
Sentry.init({
dsn: "https://examplePublicKey@o0.ingest.sentry.io/0",
integrations: [Sentry.sessionTimingIntegration()],
});
Was this helpful?
Help improve this content
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").