Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

Add SDK features to event payload #1244

Merged
merged 1 commit into from
Apr 24, 2024
Merged
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
8 changes: 8 additions & 0 deletions src/docs/sdk/event-payloads/sdk.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,13 @@ have all enabled integrations, including default integrations. Default
integrations are included because different SDK releases may contain different
default integrations.

`features`

: _Optional_. A list of feature names identifying enabled SDK features. This list
should contain all enabled SDK features. On some SDKs, enabling a feature in the
options also adds an integration. We encourage tracking such features with either
integrations or features but not both to reduce the payload size.

`packages`

: _Optional_. A list of packages that were installed as part of this SDK or the
Expand All @@ -73,6 +80,7 @@ attributes for simplicity.
"name": "sentry.javascript.react-native",
"version": "1.0.0",
"integrations": ["redux"],
"features": ["capture_failed_requests"],
"packages": [
{
"name": "npm:@sentry/react-native",
Expand Down
Loading