WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Create Azure DevOps Prometheus Deployment Gate #45

@dtzar

Description

@dtzar

For an ideal Canary deployment scenario, there should be 1+ Azure DevOps deployment gates which connects to the monitoring source related to the application health to determine whether or not to proceed with the next phase of deployment (i.e. to increase canary % of traffic or deploy from staging to prod).

To best accomplish this, a Prometheus deployment gate extension should be created which is similar to the Azure monitor deployment gate extension. This would query the Prometheus API.

Related articles:
https://docs.microsoft.com/en-us/azure/azure-monitor/app/continuous-monitoring
https://github.com/Microsoft/azure-pipelines-tasks/blob/master/docs/authoring/gates.md
https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/utility/azure-monitor?view=azure-devops
https://docs.microsoft.com/en-us/azure/devops/pipelines/release/approvals/index?view=azure-devops

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions