The Rollbar Versions API can be used to support automated decisions throughout the SDLC. The accuracy, and immediate availability of error data in Rollbar means that the Versions API can be used to support automated decisions in a build and deployment pipeline.
These automations save developers time and reduce interruptions. They also dramatically improve end-user experience by:
- Stopping a build with errors before it is deployed to a production environment
- Initiating a workflow to rollback a deployment that has errors
Rollbar Versions allows you see errors in each code version.
The Rollbar Versions API is based on this feature provides detailed information about errors associated with a specific code_version/environment. The API provides 2 endpoints:
At the end of a build pipeline process a call can be made to the Rollbar Versions API to determine if the build has introduced New Errors or Reactivated Errors. This information can be used to support an automated decision about whether the build is considered Successful or Failed.
Poll the Versions API at regular time intervals after a deployment. If the deployment fails to meet the desired quality threshold initiate an automated rollback procedure.
This python script shows the Versions API being used to determine the quality of a build.
Improve the automated decision support by using the following API endpoints to get more detailed Item and Occurrence information
Ensure that Item data is reviewed regularly to improve the accuracy of the automated decision:
Updated 5 months ago