You can record your application deployments in DripStat to see how performance changes across deployments.
To learn more about the UI, read our blog post.
API for recording Deployments
To record deployments in DripStat, you need to call the DripStat REST API.
The api method to call is:
Sample Curl syntax
curl -X POST -H "Content-Type: application/json" -d '{"apiKey":"mykey", "appName":"myapp"}' https://api.dripstat.com/api/v1/deploy
Request Body Parameters
Name | Value | Required |
apiKey |
Your account's REST API key (REST API key can be found by clicking on 'Account' tab in the UI) |
yes |
appName |
The name of your application for which the deploy is done (Note: Application 'label' shown in UI is different from Application name. Check Application 'name' by going to (app) > Settings) |
yes |
revision |
A source of control revision number (Max character length: 128) |
no |
user |
Name of person responsible for commite (Max character length: 32) |
no |
desc |
description of changes (Max character length: 5000) |
no |
Deployments are recorded at minute granularity.
If multiple calls are made to record deployment for same app at the same minute, only the first call at that minute will be recorded.
Application Name
Note that Applications have a separate 'label' that can be modified in the UI.
To check the actual 'name' of the application, go to (AppName) > Settings.