Skip to content

Commit 7ae7244

Browse files
authored
Adust docs after renaming UserAgent integration to HttpContext (#4997)
This PR adjusts docs after renaming the UserAgent integration in the Sentry JS SDK to HttpContext
1 parent eb251a7 commit 7ae7244

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

src/docs/product/integrations/integration-platform/webhooks/errors.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ If you've set up user identification you can find the user attributes under `dat
182182
"Breadcrumbs",
183183
"GlobalHandlers",
184184
"LinkedErrors",
185-
"UserAgent"
185+
"HttpContext"
186186
],
187187
"name": "sentry.javascript.browser",
188188
"packages": [

src/docs/product/integrations/integration-platform/webhooks/issue-alerts.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ The following two fields are for [alert rule action UI components](/product/inte
239239
"Breadcrumbs",
240240
"GlobalHandlers",
241241
"LinkedErrors",
242-
"UserAgent"
242+
"HttpContext"
243243
],
244244
"name": "sentry.javascript.browser",
245245
"packages": [

src/platforms/javascript/common/configuration/integrations/default.mdx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Default Integrations
33
excerpt: ""
4-
description: "Learn more about system integrations Dedupe, InboundFilters, FunctionToString, Breadcrumbs, GlobalHandlers, LinkedErrors, and UserAgent, that are enabled by default to integrate into the standard library or the interpreter itself."
4+
description: "Learn more about system integrations Dedupe, InboundFilters, FunctionToString, Breadcrumbs, GlobalHandlers, LinkedErrors, and HttpContext, that are enabled by default to integrate into the standard library or the interpreter itself."
55
redirect_from:
66
- /platforms/javascript/integrations/default/
77
- /platforms/javascript/default-integrations/
@@ -122,11 +122,12 @@ document
122122
});
123123
```
124124

125-
### UserAgent
125+
### HttpContext
126126

127-
_Import name: `Sentry.Integrations.UserAgent`_
127+
_Import name: `Sentry.Integrations.HttpContext`_
128128

129-
This integration attaches user-agent information to the event, which allows us to correctly catalog and tag them with specific OS, browser, and version information.
129+
This integration attaches HTTP request information, such as URL, user-agent, referrer and other headers to the event.
130+
It allows us to correctly catalog and tag events with specific OS, browser, and version information.
130131

131132
### Dedupe
132133

0 commit comments

Comments
 (0)