Skip to content

Commit

Permalink
Merge branch 'master' into patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
adinauer committed Sep 2, 2024
2 parents 6c674f5 + 5785558 commit 1183845
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 3 deletions.
2 changes: 0 additions & 2 deletions docs/platforms/javascript/common/configuration/options.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -399,8 +399,6 @@ Set this boolean to `false` to disable the auto initialization of the native lay

To disable the native layer, use [enableNative](#enableNative).

You should follow the [guide to native initialization](/platforms/react-native/manual-setup/native-init/) if you chose to use this option.

</ConfigKey>

<ConfigKey name="enableNativeCrashHandling" supported={["javascript.capacitor"]}>
Expand Down
18 changes: 18 additions & 0 deletions includes/profiling-mode-explanation.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#### Continuous vs. Transaction-based Profiling

Sentry's profiler offers two profiling modes: continuous (new) and transaction-based (old).
In transaction-based profiling, the profiler integrates with the Sentry client to profile code executed during transaction start and stop calls. This approach has two main limitations:

- Limited visibility into program runtime (only profiling instrumented code)
- A maximum profile duration of 30 seconds (due to payload size constraints)

These limitations make transaction-based profiling unsuitable for long-running tasks or profiling long-lived processes.
Continuous profiling addresses these limitations by enabling profiling of long-running tasks. Since the profiler runs continuously and is not bound to the transaction model, it can provide visibility into non-instrumented code and surpass the 30-second profile duration limit.

#### Impact on Product Experience

We've worked to match the product experience between these two modes by inferring transaction events in continuous profiling mode. If you use both of our products, the experience remains largely the same. The main advantage of continuous profiling is the ability to escape the limitations of transaction-based profiling, and since profiles are no longer tied to transactions, it also means you can use profiling as a standalone product and are not forced to pay for transactions if you no longer wish to.

#### Compatibility Between Modes in the SDK

Continuous profiling mode is not compatible with transaction-based profiling, so you'll need to choose one or the other (you can switch between them at any time). To enable continuous profiling, ensure that the profiles sample rate and profiles sampler are not defined in the SDK. If they are defined, continuous profiling mode will be disabled.
2 changes: 1 addition & 1 deletion src/components/onboarding/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ export function OnboardingOptionButtons({
}, [options, touchedOptions]);

return (
<div className="flex flex-wrap gap-3 py-2 bg-[var(--white-a3)] sticky top-[80px] z-[4] shadow-[var(--shadow-6)] transition">
<div className="flex flex-wrap gap-3 py-2 bg-[var(--white)] dark:bg-[var(--gray-1)] sticky top-[80px] z-[4] shadow-[var(--shadow-6)] transition">
{options.map(option => (
<Button
variant="surface"
Expand Down
Binary file modified src/imgs/chat-bubble.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/imgs/home_illustration.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/imgs/rocket.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/imgs/support.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1183845

Please sign in to comment.