Deployment Tracking: Overview

Stackify now offers Deployment Tracking inside of Retrace.  Deployment Tracking is extremely valuable so you can see when deployments happened and how they affected your application’s performance.  There will be visual indicators on your timelines when these events took place and you can easily use them to drill down into metrics that will give you an exact idea of what is happening in your application.

Where to View Deployment Information

Deployment information will be able to be viewed from inside the App Dashboard. Simply click ‘Deployments’ to view your deployment history. You are also able to manually add new deployment information inside of this overview. 


How Does It Work?

Retrace offers two ways to implement Deployment Tracking. 

1.  API Option

The new API exposes command endpoints that can start, complete, or cancel a deployment request. A Deployment Request is applied to an app environment at the specified version. The app environment is identified by the string keys AppName and EnvironmentName. The deployment request Version is also an identifying string. When evaluating the current state of a deployment request, it will be located by these three strings. We do some basic validation to ensure deployment requests do not violate the allowed state transitions. An example of an invalid deployment request would be to send a cancel command for an app environment that does not already have a pending start request at the same version.

Deployment requests are processed by the client 5 min maintenance job. All requests with a status of completed will result in the creation of a Deployment record which will then be visible to clients in the Retrace UI.

2. New Deployment UI Option

Retrace also provides an option to bypass the API and directly enter deployment information. Deployments created using the UI bypass the request pipeline and are immediately accepted as valid deployments.

What Do I Do Next?

There are a lot of options for how to implement and utilize Deployment Tracking.  Please see the following documents for more examples:

Deployment Tracking: API Sample Code

Deployment Tracking: Manual Setup


Tell Us How You Are Using Deployment Tracking!

Stackify would love to hear how you are implementing this feature.  If you are doing something cool we should know about, do not hesitate to reach out to share your ideas ([email protected]).