Edit

Share via


Monitor health and performance for Azure resources in applications (preview)

Note

This capability is in preview and is subject to the Supplemental Terms of Use for Microsoft Azure Previews.

For the Azure resources that you logically organize as applications in an integration environment, you can monitor their health and performance by creating alerts. The integration environment lets you complete the following monitoring tasks:

  • Create alerts to monitor and trigger on specific events that happen in Azure resources.
  • Monitor all applications and resources in your integration environment from centralized dashboards.
  • Trace messages across Azure resources with a single correlation ID.
  • Get a full itinerary of message flow for easier troubleshooting.
  • Find and monitor API connections in one place.
  • Select and resubmit multiple logic app workflow runs in bulk.
  • Customize filters for your monitoring needs.

Prerequisites

Limitations and known issues

In some scenarios, traces for Azure Service Bus might not appear.

Set up application groups with a Log Analytics workspace

Your applications need a centralized telemetry store where they can send the data necessary to populate dashboards. To specify the Log Analytics workspace as the store, follow these steps:

  1. In the Azure portal, open your integration environment resource.

  2. On the resource sidebar, under Environment, select Applications.

  3. On the Applications page, select the application that you want to set up.

  4. On the application sidebar, select Resources. Under Log analytics workspace, select Set up.

  5. On the Add workspace pane, for Default log analytics workspace, select your workspace, and then select Save.

Set up alerts

Alerts help you find and address issues before your customers notice them. When Azure Monitor collects log data indicating that your infrastructure or application might have a problem, alerts proactively notify you about the problem.

You can create an alert for any metric or resource that emits log data that's supported by Azure Monitor. For more information about available alert types, see What are Azure Monitor alerts?

The following table shows the default severity levels for the available alerts:

Alert Default severity level
Critical 0
Error 1
Warning 2
Informational 3
Verbose 4

For more information, see Manage alert rules.

  1. In the Azure portal, open your integration environment resource.

  2. On the resource sidebar, under Environment, select Applications.

  3. Select the application where you want to add alerts.

  4. On the application sidebar, under Application monitoring, select Alerts.

  5. On the Alerts page, in the Resource name column, find the parent resource or expand the parent to select a child resource.

    For example, you can select a workflow for a logic app in Azure Logic Apps, an API in API Management, or a queue for Azure Service Bus.

    Tip

    To create alerts for multiple resources with the same type, follow these steps:

    1. On the Alerts page, under Resource name, select resources that have the same type.

    2. On the Alerts toolbar, select Add alerts in bulk.

    3. Skip the next step, and continue with the step starting with the Alert rules tab.

  6. In the Edit column, select Edit for the parent or child resource.

    Screenshot shows integration environment, a specific application, Alerts page, and selected Edit icon for a child resource.

  7. On the Alert rules tab, select either Add rule, or if no rules exist, select Start with recommended rules. Set up the rule that you want for monitoring the resource.

    The following example shows some workflow alert rules that trigger based on various threshold conditions:

    Screenshot shows example alert rules for a resource in an application.

    For more information, see Create alert rules for Azure resources.

  8. When you're done, select Save.

  9. Continue with the next section to set up notifications when alerts trigger.

Send notifications when alerts trigger

You can optionally create and map action groups to your alerts based on alert severity, so that you get notifications when alerts trigger. An action group is a collection of notification preferences and actions, which you can map to the alerts that you create.

  1. In the Azure portal, open your integration environment resource and the application with the alerts where you want to create and set up action groups.

  2. On the application sidebar, under Application monitoring, select Alerts.

  3. On the Alerts toolbar, select Manage action groups.

  4. On the Action groups toolbar, select Create.

  5. Follow the general steps to create an action group, for example:

    Screenshot shows Azure portal and Create action group wizard.

  6. When you're done, return to the Alerts page for your application group.

  7. On the Alerts page, in the Resource name column, find the parent resource or expand the parent to select a child resource.

  8. In the Edit column, select Edit for the parent or child resource that has the rules that you want to map.

  9. On the Default action groups tab, for each alert severity level, select the action group for sending the notifications that you want, for example:

    Screenshot shows Azure portal, application, Alerts page, and Default action groups with mapping.

  10. When you're done, select Save.

View health for a specific application

The visualizations for application-specific dashboards are built on Azure Workbooks in Azure Monitor and extensible based on your business needs.

  1. In the Azure portal, open your integration environment resource.

  2. On the resource sidebar, under Environment, select Applications.

  3. On the Applications page, select the application that you want.

  4. On the application sidebar, select Insights.

  5. Under the Insights toolbar, select the time range that you want to review.

    For the selected duration, the Insights page shows the resources in your application based on the Azure service category, such as Logic Apps, Service Bus, and APIM.

  6. Select a service category, for example, Logic Apps.

    1. Select the Overview tab to get aggregated health information for all logic app resources in an application.

      The tab shows tables with the following information:

      • Total runs, total triggers, and total actions for each logic app.
      • Total runs, total actions, and total triggers, based on status.

      Screenshot shows aggregated health information for logic apps in an application.

    2. Scroll down the page to view trend charts that show logic app workflow runs and their trends over the selected duration.

      The trend charts show the following information:

      • Status for workflow runs, actions, and triggers.
      • Failures for workflow runs, triggers, and actions.
      • Completed workflow runs, triggers, and actions.

      Screenshot shows aggregated trend charts for logic apps in an application.

    3. To troubleshoot specific workflow runs, select the Runs tab.

      The Runs tab shows the logic apps, associated workflows, total workflow runs, and failure rates for triggers, workflow runs, and actions, for example:

      Screenshot shows logic apps, associated workflows, and failure rates.

    4. To get the run history and details for a specific workflow, select the row for that workflow.

      Under the table with the failure rates for different workflows, a runs table appears for the selected workflow, for example:

      Screenshot shows specific workflow, and other details such as status, resubmit option, duration, and properties.

      This runs table includes relevant details about each workflow run. Each row has a unique correlation ID, which tracks the data flow across all Azure resources in an application.

      The following list describes other tasks that you can perform based on the metrics that you want to review:

      • Filter the table by run status so that you can more easily focus on specific scenarios.

      • For properties and other information about a specific run, in the Properties column, select the Properties link.

      • To view the processing hops for a message, select the row for a specific run.

        The opened table provides a comprehensive view for the message's journey through Azure resources in the application. Azure stitches together the timelines for message processing across all Azure resources in the application by using the correlation ID.

      • To resubmit a failed run, choose an option:

        • Single run: In the Resubmit column, select the Resubmit link.

        • Multiple runs: Select the runs that you want, and then select Resubmit Selected Runs.