From 2affdbd5180f9b19f602c072564ff161a2e55056 Mon Sep 17 00:00:00 2001 From: Philipp Hofmann Date: Thu, 12 Oct 2023 16:09:24 +0200 Subject: [PATCH] feat: GA MetricKit integration (#3340) Remove experimental note on options to make the MetricKit integration GA. Fixes GH-2585 --- CHANGELOG.md | 11 +++++++++++ Sources/Sentry/Public/SentryOptions.h | 3 ++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b6d849f30ce..16eb4b01d85 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## Unreleased + +### Features + +- GA of MetricKit integration (#3340) + +Once enabled, this feature subscribes to [MetricKit's](https://developer.apple.com/documentation/metrickit) [MXDiagnosticPayload](https://developer.apple.com/documentation/metrickit/mxdiagnosticpayload) data, converts it to events, and sends it to Sentry. +The MetricKit integration subscribes to [MXHangDiagnostic](https://developer.apple.com/documentation/metrickit/mxhangdiagnostic), +[MXDiskWriteExceptionDiagnostic](https://developer.apple.com/documentation/metrickit/mxdiskwriteexceptiondiagnostic), +and [MXCPUExceptionDiagnostic](https://developer.apple.com/documentation/metrickit/mxcpuexceptiondiagnostic). + ## 8.13.1 ### Fixes diff --git a/Sources/Sentry/Public/SentryOptions.h b/Sources/Sentry/Public/SentryOptions.h index 15708f3ace2..6ffe50b0b5b 100644 --- a/Sources/Sentry/Public/SentryOptions.h +++ b/Sources/Sentry/Public/SentryOptions.h @@ -457,7 +457,8 @@ NS_SWIFT_NAME(Options) #if SENTRY_HAS_METRIC_KIT /** - * @warning This is an experimental feature and may still have bugs. + * Use this feature to enable the Sentry MetricKit integration. + * * @brief When enabled, the SDK sends @c MXDiskWriteExceptionDiagnostic, @c MXCPUExceptionDiagnostic * and * @c MXHangDiagnostic to Sentry. The SDK supports this feature from iOS 15 and later and macOS 12