Skip to content

Deprecate SessionTiming and Debug integrations #11834

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

Merged
merged 2 commits into from
Nov 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
---
title: Debug
description: "Allows you to inspect the contents of a processed event and hint object that gets passed to beforeSend or beforeSendTransaction."
description: "Allows you to inspect the contents of a processed event and hint object that gets passed to beforeSend or beforeSendTransaction. (deprecated)"
---

{/* TODO(v9): Remove this page and all references to it */}

<Alert title="Deprecation Notice">

The `Debug` Integration is deprecated and will be removed in the next major version of the SDK.
To log outgoing events, we recommend using <PlatformLink to="/configuration/options/#hooks">Hook Options</PlatformLink> in `Sentry.init()`.

</Alert>

_Import name: `Sentry.debugIntegration`_

This integration allows you to inspect the contents of a processed event and hint object that gets passed to `beforeSend` or `beforeSendTransaction`. It will always run as the last integration, no matter when it was registered.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
---
title: SessionTiming
description: "Adds session timing data to events."
description: "Adds session timing data to events. (deprecated)"
---

{/* TODO(v9): Remove this page and all references to it */}

<Alert title="Deprecation Notice">

The `SessionTiming` Integration is deprecated and will be removed in the next major version of the SDK.
To capture session durations alongside events, we recommend using <PlatformLink to="/enriching-events/context/">Context</PlatformLink>.

</Alert>

_Import name: `Sentry.sessionTimingIntegration`_

This integration adds duration data for sessions to events.
Expand Down
Loading