You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/platforms/javascript/common/configuration/integrations/koa.mdx
+23Lines changed: 23 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,29 @@ Sentry.init({
26
26
});
27
27
```
28
28
29
+
## Options
30
+
31
+
### `ignoreLayersType`
32
+
33
+
Requires SDK version `9.29.0` or higher.
34
+
35
+
_Type: `Array<'middleware' | 'router'>`_
36
+
37
+
An array of Koa layer types to ignore when creating spans. This allows you to filter out specific types of middleware or router spans from being sent to Sentry.
0 commit comments