Automatically captured data

Bugsnag automatically captures a variety of data to help you debug your errors. You may wish to avoid capturing some types of data, particularly if there are privacy implications for your users.

User information

User information is used to show you which errors are impacting the most users. Set your own user identifiers if you want to be able to find errors affecting individual users.

Data Default value Preventing collection
User ID The remote IP address of the request Modify User.Id in a callback

Application information

Information about the application can be useful to identify if an error occurs in certain versions.

Data Default value Preventing collection
Release stage The value of martini.Env Modify the ReleaseStage configuration option

Device information

Information about the device can be useful to identify if an error is only occurring on some devices.

Data Default value Preventing collection
Hostname Server host name as identified by os.Hostname() Modify the Hostname configuration option

Request information

Details about the request can be helpful to reproduce errors.

Data Default value Preventing collection
Client IP The remote IP address of the request Override the value of clientIp in MetaData["request"] in a callback
HTTP method The method used to send the current request Override the value of httpMethod in MetaData["request"] in a callback
Headers The headers sent with the request Override the value of headers in MetaData["request"] in a callback
Params The URL query parameters Override the value of params in MetaData["request"] in a callback
Request URL The URL including query parameters Override the value of url in MetaData["request"] in a callback

Error information

Modifying error information may affect error grouping.

Data Default value Preventing collection
Context The request URL path Append a new value for Context in a callback
Error class The name or title of the error that occurred Modify ErrorClass in a callback
Error message The description of the error that occurred Modify Message in a callback
Stack trace The list of active method calls (and the file and line number locations) at the point the error was detected Modify stacktrace in a callback