logo
pub fn start_session()
Expand description

Start a new session for Release Health.

This is still experimental for the moment and is not recommended to be used with a very high volume of sessions (request-mode sessions).

Examples

sentry::start_session();

// capturing any event / error here will update the sessions `errors` count,
// up until we call `sentry::end_session`.

sentry::end_session();