Using Canary Analysis with Dynatrace

Before you can start using Canary deployments, you need to enable Kayenta, the Spinnaker service for canary deployments. For more information, see Configuring Kayenta.

Dynatrace configuration

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

kayenta:
  dynatrace:
    enabled: true
    accounts:
    - name: my-dynatrace-account
      endpoint:
        baseUrl: <Your Dynatrace url> https://xxxxxxxx.live.dynatrace.com
      apiToken: <Your Dynatrace apiToken>
      supportedTypes:
      - METRICS_STORE

Canary configs

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

image

Add your Dynatrace query in the Dynatrace USQL field.

image

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.

image