Use Canary Analysis with Dynatrace in Spinnaker

Learn how to configure and use Dynatrace for canary analysis in Spinnaker.


Before you can start using canary deployments, you need to enable Kayenta, the SpinnakerTM service for canary deployments. For more information, see the Configure Automated Canary Deployments in Spinnaker guide.

Dynatrace configuration

To enable Dynatrace, add the following dynatrace entry to kayenta-local.yml:

    enabled: true
    - name: my-dynatrace-account
        baseUrl: <Your Dynatrace url>
      apiToken: <Your Dynatrace apiToken>

Canary configs

In the UI, you need to create a new canary config for the metrics you are interested in.

Add your Dynatrace query in the Dynatrace USQL field.

Pipeline configs

In your canary stage, set up the canary config you just created. Then use the application values from Dynatrace to fill in the Baseline + Canary Pair and MetricScope fields.

Last modified October 17, 2023: (aa87b671)