Skip to content

Commit

Permalink
docs: remove beta warnings for profiling (#3027)
Browse files Browse the repository at this point in the history
Profiling is now a GA feature.
  • Loading branch information
armcknight authored May 15, 2023
1 parent e84bc3f commit df19885
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Sources/Sentry/Public/SentryOptions.h
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,6 @@ NS_SWIFT_NAME(Options)

#if SENTRY_TARGET_PROFILING_SUPPORTED
/**
* @warning This is a beta feature and may still have bugs.
* @note Profiling is not supported on watchOS or tvOS.
* Indicates the percentage profiles being sampled out of the sampled transactions.
* @note The default is @c 0.
Expand All @@ -364,7 +363,6 @@ NS_SWIFT_NAME(Options)
@property (nullable, nonatomic, strong) NSNumber *profilesSampleRate;

/**
* @warning This is a beta feature and may still have bugs.
* @note Profiling is not supported on watchOS or tvOS.
* A callback to a user defined profiles sampler function. This is similar to setting
* @c profilesSampleRate but instead of a static value, the callback function will be called to
Expand All @@ -373,15 +371,13 @@ NS_SWIFT_NAME(Options)
@property (nullable, nonatomic) SentryTracesSamplerCallback profilesSampler;

/**
* @warning This is a beta feature and may still have bugs.
* @note Profiling is not supported on watchOS or tvOS.
* If profiling should be enabled or not. Returns @c YES if either a profilesSampleRate > @c 0 and
* \<= @c 1 or a profilesSampler is set otherwise @c NO.
*/
@property (nonatomic, assign, readonly) BOOL isProfilingEnabled;

/**
* @warning This is a beta feature and may still have bugs.
* @brief Whether to enable the sampling profiler.
* @note Profiling is not supported on watchOS or tvOS.
* @deprecated Use @c profilesSampleRate instead. Setting @c enableProfiling to @c YES is the
Expand Down

0 comments on commit df19885

Please sign in to comment.