Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Default Integrations
excerpt: ""
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."
description: "Learn more about system integrations Dedupe, InboundFilters, FunctionToString, Breadcrumbs, GlobalHandlers, LinkedErrors, and HttpContext (UserAgent), that are enabled by default to integrate into the standard library or the interpreter itself."
redirect_from:
- /platforms/javascript/integrations/default/
- /platforms/javascript/default-integrations/
Expand Down Expand Up @@ -122,10 +122,19 @@ document
});
```

### HttpContext
### HttpContext (previously: UserAgent)

_Import name: `Sentry.Integrations.HttpContext`_

<Note>

Before version 7.0.0 of the Sentry SDK, this integration was called `UserAgent`.
It was renamed because the integration handles more than just user-agent data.

_Import name: `Sentry.Integrations.UserAgent`_

</Note>

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

Expand Down