1. Клубная закупка от Дастершоп77: накладки на пороги дверей по специальной цене
  2. Посмотрите кто из участников клуба находится рядом с вами! Отметьте себя на карте участников клуба Каптур-Россия

Visalia : devops vsts - Эдуард Кабринский

Тема в разделе 'Официальные Дилеры: Москва', создана пользователем GARYea, 19 май 2021.

  1. GARYea

    GARYea Пользователь

    Адрес (город):
    Eduard Kabrinskiy - Azuredevopslabs - Eduard Kabrinskiy

    Azuredevopslabs <a href="http://remmont.com">Latestnews</a> Azuredevopslabs
    <h1>Add continuous monitoring to your release pipeline</h1>
    <p>Azure Pipelines integrates with Azure Application Insights to allow continuous monitoring of your DevOps release pipeline throughout the software development lifecycle.</p>
    <p>With continuous monitoring, release pipelines can incorporate monitoring data from Application Insights and other Azure resources. When the release pipeline detects an Application Insights alert, the pipeline can gate or roll back the deployment until the alert is resolved. If all checks pass, deployments can proceed automatically from test all the way to production, without the need for manual intervention.</p>
    <h2>Configure continuous monitoring</h2>
    <p>In Azure DevOps, select an organization and project.</p>
    <p>On the left menu of the project page, select <strong>Pipelines</strong> > <strong>Releases</strong>.</p>
    <p>Drop down the arrow next to <strong>New</strong> and select <strong>New release pipeline</strong>. Or, if you don't have a pipeline yet, select <strong>New pipeline</strong> on the page that appears.</p>
    <p>On the <strong>Select a template</strong> pane, search for and select <strong>Azure App Service deployment with continuous monitoring</strong>, and then select <strong>Apply</strong>.</p>
    <p style="clear: both"><img src="https://docs.microsoft.com/en-us/azure/azure-monitor/app/media/continuous-monitoring/001.png" /></p>
    <p>In the <strong>Stage 1</strong> box, select the hyperlink to <strong>View stage tasks.</strong></p>
    <p style="clear: both"><img src="https://docs.microsoft.com/en-us/azure/azure-monitor/app/media/continuous-monitoring/002.png" /></p>
    <p>In the <strong>Stage 1</strong> configuration pane, complete the following fields:</p>
    <p><table><thead><tr><th>Parameter</th><th style="text-align: left;">Value</th></tr></th><tbody><tr><td><strong>Stage name</strong></td><td style="text-align: left;">Provide a stage name, or leave it at <strong>Stage 1</strong>.</td></tr><tr><td><strong>Azure subscription</strong></td><td style="text-align: left;">Drop down and select the linked Azure subscription you want to use.</td></tr><tr><td><strong>App type</strong></td><td style="text-align: left;">Drop down and select your app type.</td></tr><tr><td><strong>App Service name</strong></td><td style="text-align: left;">Enter the name of your Azure App Service.</td></tr><tr><td><strong>Resource Group name for Application Insights</strong></td><td style="text-align: left;">Drop down and select the resource group you want to use.</td></tr><tr><td><strong>Application Insights resource name</strong></td><td style="text-align: left;">Drop down and select the Application Insights resource for the resource group you selected.</td></tr></tbody></table></p>
    <p>To save the pipeline with default alert rule settings, select <strong>Save</strong> at upper right in the Azure DevOps window. Enter a descriptive comment, and then select <strong>OK</strong>.</p>
    <h2>Modify alert rules</h2>
    <p>Out of box, the <strong>Azure App Service deployment with continuous monitoring</strong> template has four alert rules: <strong>Availability</strong>, <strong>Failed requests</strong>, <strong>Server response time</strong>, and <strong>Server exceptions</strong>. You can add more rules, or change the rule settings to meet your service level needs.</p>
    <p>To modify alert rule settings:</p>
    <p>In the left pane of the release pipeline page, select <strong>Configure Application Insights Alerts</strong>.</p>
    <p>The four default alert rules are created via an Inline script:</p>
    <p>You can modify the script and add additional alert rules, modify the alert conditions, or remove alert rules that don't make sense for your deployment purposes.</p>
    <h2>Add deployment conditions</h2>
    <p>When you add deployment gates to your release pipeline, an alert that exceeds the thresholds you set prevents unwanted release promotion. Once you resolve the alert, the deployment can proceed automatically.</p>
    <p>To add deployment gates:</p>
    <p>On the main pipeline page, under <strong>Stages</strong>, select the <strong>Pre-deployment conditions</strong> or <strong>Post-deployment conditions</strong> symbol, depending on which stage needs a continuous monitoring gate.</p>
    <p style="clear: both"><img src="https://docs.microsoft.com/en-us/azure/azure-monitor/app/media/continuous-monitoring/004.png" /></p>
    <p>In the <strong>Pre-deployment conditions</strong> configuration pane, set <strong>Gates</strong> to <strong>Enabled</strong>.</p>
    <p>Next to <strong>Deployment gates</strong>, select <strong>Add</strong>.</p>
    <p>Select <strong>Query Azure Monitor alerts</strong> from the dropdown menu. This option lets you access both Azure Monitor and Application Insights alerts.</p>
    <p style="clear: both"><img src="https://docs.microsoft.com/en-us/azure/azure-monitor/app/media/continuous-monitoring/005.png" /></p>
    <p>Under <strong>Evaluation options</strong>, enter the values you want for settings like <strong>The time between re-evaluation of gates</strong> and <strong>The timeout after which gates fail</strong>.</p>
    <h2>View release logs</h2>
    <p>You can see deployment gate behavior and other release steps in the release logs. To open the logs:</p>
    <p>Select <strong>Releases</strong> from the left menu of the pipeline page.</p>
    <p>Select any release.</p>
    <p>Under <strong>Stages</strong>, select any stage to view a release summary.</p>
    <p>To view logs, select <strong>View logs</strong> in the release summary, select the <strong>Succeeded</strong> or <strong>Failed</strong> hyperlink in any stage, or hover over any stage and select <strong>Logs</strong>.</p>
    <p style="clear: both"><img src="https://docs.microsoft.com/en-us/azure/azure-monitor/app/media/continuous-monitoring/006.png" /></p>
    <h2>Next steps</h2>
    <p>For more information about Azure Pipelines, see the Azure Pipelines documentation.</p>

    Azuredevopslabs <a href="http://remmont.com">American newspapers headlines</a> Azuredevopslabs
    Provides instructions to quickly set up continuous monitoring with Application Insights
    Azuredevopslabs <a href="http://remmont.com">Azuredevopslabs</a> Azuredevopslabs
    SOURCE: <h6>Azuredevopslabs</h6> <a href="https://dev-ops.engineer/">Azuredevopslabs</a> Azuredevopslabs
    #tags#[replace: -,-Azuredevopslabs] Azuredevopslabs#tags#

    Kabrinskiy Eduard
    breaking news today