Skip to content

Commit

Permalink
rename to enableMetricKitRawPayload
Browse files Browse the repository at this point in the history
  • Loading branch information
philipphofmann committed Jun 10, 2024
1 parent a6cebc6 commit b53bee8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/platforms/apple/common/configuration/metric-kit.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ SentrySDK.start { options in
}];
```
You can enable `enableMetricKitAttachments` to view the raw MetricKit diagnostic payload in JSON format as an attachment on the converted event in Sentry. This feature is available on Cocoa 8.29.0 and up.
You can enable `enableMetricKitRawPayload` to view the raw MetricKit diagnostic payload in JSON format as an attachment on the converted event in Sentry. This feature is available on Cocoa 8.29.0 and up.
```swift {tabTitle:Swift}
import Sentry
SentrySDK.start { options in
options.dsn = "___PUBLIC_DSN___"
options.enableMetricKitAttachments = true
options.enableMetricKitRawPayload = true
}
```

Expand All @@ -51,6 +51,6 @@ SentrySDK.start { options in

[SentrySDK startWithConfigureOptions:^(SentryOptions *options) {
options.dsn = @"___PUBLIC_DSN___";
options.enableMetricKitAttachments = YES;
options.enableMetricKitRawPayload = YES;
}];
```

0 comments on commit b53bee8

Please sign in to comment.