In Honeybadger, errors are grouped by the environment they belong to. You don't have to set an environment, but it can be useful if you're running different versions of your app: for instance, you may have a "production" and a "staging" environment.
Our integrations typically set the environment automatically if your framework
has an environment (such as
Rails.env). To set the environment manually, set
env configuration option:
--- api_key: 'your-api-key' env: 'production'
Some environments should usually not report errors at all, such as when you are developing on your local machine or running your test suite (locally or in CI). The honeybadger gem has an internal list of environment names which it considers development environments:
development test cucumber
Honeybadger does not report errors in these environments unless you explicitly enable data reporting:
--- api_key: 'your-api-key' report_data: true