Skip to content

Commit d938d87

Browse files
Apply suggestions from code review: Updated headers
Co-authored-by: Alex Krawiec <[email protected]>
1 parent cbaa988 commit d938d87

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/platforms/javascript/common/apis.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1083,7 +1083,7 @@ Wraps a callback with a cron monitor check in. The check in will be sent to Sent
10831083
</PlatformCategorySection>
10841084

10851085
<PlatformSection supported={["javascript.sveltekit"]}>
1086-
## Load Function Instrumentation
1086+
## Instrumenting Load Functions
10871087

10881088
SvelteKit's universal and server `load` functions are instrumented automatically by default. If you don't want to use `load` auto-instrumentation, you can [disable it](/platforms/javascript/guides/sveltekit/configuration/build/#auto-instrumentation-options) and manually instrument specific `load` functions using the following function wrappers:
10891089

@@ -1131,7 +1131,7 @@ export const load = wrapServerLoadWithSentry(({ fetch }) => {
11311131

11321132
</SdkApi>
11331133

1134-
## Server Routes Instrumentation
1134+
## Instrumenting Server Routes
11351135

11361136
<SdkApi
11371137
name="wrapServerRouteWithSentry"

docs/platforms/javascript/guides/sveltekit/configuration/build/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Disable automatic source maps upload by setting `autoUploadSourceMaps` to `false
6060

6161
</SdkOption>
6262

63-
## Auto-instrumentation Options
63+
## Auto-Instrumentation Options
6464

6565
The SDK primarily uses [SvelteKit's hooks](https://kit.svelte.dev/docs/hooks) to collect error and performance data. However, SvelteKit doesn't yet offer a hook for universal or server-only `load` function calls. Therefore, the SDK uses a Vite plugin to auto-instrument `load` functions so that you don't have to manually add a Sentry wrapper to each function.
6666

0 commit comments

Comments
 (0)