Skip to main content
Version: Release 22.3

Dynatrace Plugin

You can use Release with Dynatrace to integrate service-level, business application-level, and user-level metrics about your applications. This gives you an earlier and more accurate picture of the architectural quality of your software. After the application goes live, this also gives you detailed insight into how your users are working with it, so you can more effectively determine if the features you have just released are successful.

important

The Release Dynatrace plugin is a community plugin that is not officially supported by Digital.ai. If you have questions, please contact the Digital.ai Support team.

Preparation

  1. If you are not already a Dynatrace user, download and install it.

  2. Download the latest version of the Release Dynatrace community plugin and copy it to the XL_RELEASE_SERVER_HOME/plugins directory.

  3. Start the Release server. You will see that the following task types are available:

    Dynatrace tasks in Release

Collecting service-level metrics

The Dynatrace Test Automation feature collects integration test metrics such as the number of database queries, the number of calls to a web service, the size of a web service's response, and so on.

In Release, you can use a Register Test Run task to register a test run in Dynatrace before calling your continuous integration (CI) server or integration test harness. You can then use a Retrieve Test Results task to get the analysis from Dynatrace and make a manual or automated decision about whether to continue the release.

Run tests and retrieve results

Collecting business application-level metrics

You can also use Dynatrace to monitor and report on application performance characteristics when doing performance and stress testing.

In Release, you can use a Start Recording task to automatically trigger Dynatrace to start a data recording session just before you start running performance tests. The description of the recording session links to the Release release, so other users can immediately see what the session is about.

You can then use the Stop Recording task to immediately end the recording after the performance test is complete, ensuring that you do not have to manually remove unrelated data from Dynatrace reports and visualizations. Also, Release links directly to Dynatrace reports, so other users can see the analysis and efficiently decide whether to proceed with the release.

Start and stop recording

Collecting user-level metrics

The Dynatrace User Experience Management feature collects metrics about application versions after they are live in Production. For example, the level of Android versus iOS app usage, the number of successfully completed transactions from a certain region, the average response time in a particular geography, or any other user-level metric.

To get a true "before/after" view of an application, you need to determine the correct moment to use for comparison. Release does this for you automatically. You can use the Register Deployment task to quickly jump to the correct "before/after" view. You can even have multiple Register Deployment tasks for different milestones in a phased go-live scenario.

Register deployment and review

Information about the release and a direct link to Release are automatically added to the event record in Dynatrace, so all users can quickly see what was involved in the deployment and find more details about the release if needed.

Putting it all together

This is an example of a release that collects all three types of metrics:

Register deployment and review