Lightstep offers a way to see how individual versions (even partial deployments) affect your service performance. When you access the Service Directory, the Deployments tab shows you the latency, error rate, and operation rate of your Key Operations on a service. The operations are initially sorted by highest change during the time period initially selected.
When you implement a tag to display versions of your service, a deployment marker displays at the time the deployment occurred. In the example below, a deploy of the
inventory service occurred at around 2:20 pm. Hover over the marker in the larger charts to view details. These markers allow you to quickly correlate deployment with a possible regression.
When you have multiple versions in a time window, you can view the performance of each deployed version. For example, in this image, multiple versions have been deployed. Hover over the chart to see the percentage of traffic in each version.
This feature requires a Satellite upgrade to the March 2020 release.
If a version tag hasn’t been instrumented for the service, or you haven’t configured Lightstep to recognize the version tag, an Instrument version tags button displays.
Clicking this button navigates to the Instrumentation Quality view, where you can get more information about instrumenting for deploys.
View Version Performance
Before you can view deployments in the Service Health view, you need to create deployment markers as tags in your instrumention. Each time the value of that tag changes, Lightstep displays a new marker in the charts and begins tracking the independent performance of that version.
When Lightstep detects only a single version in the time window selected, that version is displayed.
When more than one version has been deployed in that time window, you can choose a version to view separately. The marker for the selected version is solid. Colored lines represent the performance of that version, across the latency, error, and operation charts. All other versions display as grayed-out lines. You can hover over the chart to see the distribution of traffic between the versions and the corresponding performance.
In the image above, you can see that the current deploy has about 30% of total traffic and is experiencing latency in the p99 and p95 ranges (the green lines), while before the selected deployment, the other versions were not (the gray lines).
Compare Deployment Performance
When you notice that performance has regressed after a deployment, before you start digging in to latency or error analysis, it can be helpful to compare the current deploy to another deploy to see if the changes are an anomaly or if this type of regression is common after a deploy (often the case with canary deployments).
Lightstep can help by showing you a version-over-version comparison of performance.
To compare performance of two versions:
Select the version you’re concerned about from the View version dropdown.
From the Compared to dropdown, select another version (one that you know was performing as expected).
Lightstep overlays the time-shifted timeseries of the selected deployment (grey lines). You can quickly see if there is an issue or if this deployment is behaving similarly to the comparison deployment. In this image, you can see that the selected version has the same shape as the current version and can conclude that the current version is behaving as expected.
In the image below, you can see that the selected version did not have the same issue, there are no gray lines showing a regression.