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.

Application information

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

Data Default value Preventing collection
Type The primary app framework Override the app_type property during Bugsnag configuration

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 The hostname of the server Override the hostname property during Bugsnag configuration

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
Id The remote_ip of the incoming request Override the report’s user using a callback or custom middleware

Request information

Details about the request can be helpful to reproduce errors.

This tab can be removed in its entirety using the remove_tab method within a middleware or callback.

Data Default value Preventing collection
URL The requested URL in full Filter url using meta_data_filters
HTTP Method The method used by the request Filter httpMethod using meta_data_filters
Params The parameters supplied by the request Filter params using meta_data_filters
Referer The HTTP referer that originally accessed the resource Filter referer using meta_data_filters
Client IP The IP of the incoming request Filter clientIp using meta_data_filters
Headers Any headers provided by the request Filter headers using meta_data_filters

Error information

Modifying error information may affect error grouping.

Data Default value Preventing collection
Error class The exception’s class name Override the error data within a report using a callback and the exceptions method
Error message The exception’s message Override the error data within a report using a callback and the exceptions method
Stack trace A stack trace derived from the exception, containing code, filenames, methods and line numbers Override the error data within a report using a callback and the exceptions method
Context The request method and path Override the report’s context using a callback or custom middleware

Environment information

Information about the environment can be useful for finding platform or device issues.

The environment tab will be populated with all environment data provided by Rack. The tab will only be collected if the configuration option send_environment is set to true.