Rollbar

Rollbar automatically captures errors that occur with your website, and our deployment integration allows you to correlate recent deployments with spikes in errors.

When enabled, the Rollbar integration will notify Rollbar of your deployment as it starts, and when it succeeds or fails. More information can be found in the Deploy Tracking docs for Rollbar.

Setting up Rollbar

To connect your Rollbar project to your environment, you will need an API token with the post_server_item scope, which can be created in the Project Access Tokens section of your project’s Settings page.

  1. In the Integrations section of your environment, click Add Integration and choose Rollbar.
  2. Enter your API Token, and click Save.

When you next perform a successful deployment, you should see your deployment in the Deploys section of your Rollbar project.

Deploys timing out

If Rollbar is reporting that your deployments are timing out, you may need to increase the time-out value in your Rollbar settings. By default this is set to one minute, but deployments performed by the SilverStripe Platform can take up to 15 minutes.

  1. Go into your project’s Settings page, and go into the Deploys section.
  2. Enter a higher value for the Time-out field, such as 15 minutes.
  3. Click Save.