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
:
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.
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.
Feedback
Was this page helpful?
Thank you for letting us know!
Sorry to hear that. Please tell us how we can improve.
Last modified October 17, 2023: (aa87b671)