Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Analyze app-specific monitoring data

Now that Application Insights is properly configured, you can use it to monitor your apps. You can use the following guidance to perform this task:

Use this guidance to review such Application Insights features as:

  • The Application Map
  • Performance data
  • Failures
  • Metrics
  • Live Metrics
  • Availability
  • Logs

Step by step guidance

  1. In your browser, in the Azure Portal, navigate to the page displaying the resource group containing the Spring Apps service resources.

  2. Select the Application Insights resource in the resource group. Note that the overview page displays data about Failed requests, Server response time, Server requests and Availability.

  3. In the navigation menu, in the Investigate section, select Application map. This will display information about the apps running in your Spring Apps Service and their dependencies.

  4. In the application map, select the circle representing the api-gateway service. This will display details about this app, including, for example, the slowest requests and failed dependencies.

  5. Select Investigate performance. This will automatically open the Performance page displaying detailed performance data related to operations, dependencies, and roles.

    You can select a specific time period in the graph, which will automatically adjust the view of the performance data.

  6. Navigate back to the Application map page.

  7. In the navigation menu, in the Investigate section, select Live Metrics, to display live metrics of your app, which includes near real time performance, as well as logs and traces.

  8. In the navigation menu, in the Investigate section, select Availability.

  9. In the toolbar of the Availability page, select + Add Standard test in order to configure an availability test for your app.

  10. Fill out the following details and select Create:

    • Test name: The api-gateway availability test
    • URL: The URL for the assigned endpoint of your api-gateway
  11. Accept the default values for all other settings. Notice that alerts are automatically enabled.

    Once the configuration is completed, the availability of your app will be tested every 5 minutes from 5 different locations.

  12. Select the three dots to the right of the newly configured availability test and select Open Rules (Alerts) page.

  13. Select the alert rule for your availability test. By default there are no action groups associated with this alert rule. We will not configure them in this task, but note that action groups can be used to configure email or SMS notifications targeting designated individuals or groups. For more information, see Create and manage action groups in the Azure portal.

  14. Navigate back to the page of your Application Insights resource.

  15. In the navigation menu, in the Investigate section, select Failures to review information about failures of your apps. You can click on any of the response codes, exception types, or failed dependencies display additional information about each of these types of failures.

  16. In the navigation menu, in the Investigate section, select Performance to display performance data about your app’s operations. This is matching the information you reviewed earlier.

  17. In the navigation menu, in the Monitoring section, select Logs to display log data. You can use Kusto Query Language (KQL) queries to search and analyze the log data. For more information, see Log queries in Azure Monitor.

  18. On the Queries pane, select Performance.

  19. In the list of performance-related queries, in the Operations performance, select Run to display results of the corresponding query.