Skip to content

Commit b5bd678

Browse files
lforstlizokm
andauthored
Deprecate SessionTiming and Debug integrations (#11834)
Co-authored-by: Liza Mock <[email protected]>
1 parent a3aded6 commit b5bd678

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

docs/platforms/javascript/common/configuration/integrations/debug.mdx

+10-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
11
---
22
title: Debug
3-
description: "Allows you to inspect the contents of a processed event and hint object that gets passed to beforeSend or beforeSendTransaction."
3+
description: "Allows you to inspect the contents of a processed event and hint object that gets passed to beforeSend or beforeSendTransaction. (deprecated)"
44
---
55

6+
{/* TODO(v9): Remove this page and all references to it */}
7+
8+
<Alert title="Deprecation Notice">
9+
10+
The `Debug` Integration is deprecated and will be removed in the next major version of the SDK.
11+
To log outgoing events, we recommend using <PlatformLink to="/configuration/options/#hooks">Hook Options</PlatformLink> in `Sentry.init()`.
12+
13+
</Alert>
14+
615
_Import name: `Sentry.debugIntegration`_
716

817
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.

docs/platforms/javascript/common/configuration/integrations/sessiontiming.mdx

+10-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
11
---
22
title: SessionTiming
3-
description: "Adds session timing data to events."
3+
description: "Adds session timing data to events. (deprecated)"
44
---
55

6+
{/* TODO(v9): Remove this page and all references to it */}
7+
8+
<Alert title="Deprecation Notice">
9+
10+
The `SessionTiming` Integration is deprecated and will be removed in the next major version of the SDK.
11+
To capture session durations alongside events, we recommend using <PlatformLink to="/enriching-events/context/">Context</PlatformLink>.
12+
13+
</Alert>
14+
615
_Import name: `Sentry.sessionTimingIntegration`_
716

817
This integration adds duration data for sessions to events.

0 commit comments

Comments
 (0)