Skip to content

Commit 6134a2c

Browse files
authored
docs(js): Add docs for ignoreStaticAssets (#14608)
1 parent 0f9c755 commit 6134a2c

File tree

1 file changed

+7
-0
lines changed
  • docs/platforms/javascript/common/configuration/integrations

1 file changed

+7
-0
lines changed

docs/platforms/javascript/common/configuration/integrations/http.mdx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,13 @@ The callback function receives two arguments:
102102
- `urlPath`: The URL path of the incoming request, including the query string if available. For example: `/users?name=John`.
103103
- `request`: An object of type `IncomingMessage` containing the incoming request. You can use this to filter on properties like the request method or headers.
104104

105+
### `ignoreStaticAssets`
106+
107+
_Type: `boolean`_ (Defaults to `true`)
108+
109+
If set to true, no spans will be captured for static assets like images, fonts, and other files.
110+
111+
105112
### `trackIncomingRequestsAsSessions`
106113

107114
_Type: `boolean`_ (Defaults to `true`)

0 commit comments

Comments
 (0)