All Products
Search
Document Center

Application Real-Time Monitoring Service:Diagnose application stuttering

Last Updated:Mar 11, 2026

Slow application responses can originate anywhere along the request path -- frontend, gateway, application server, or database. In microservice architectures, a single request spans services maintained by different teams, and logging every potential bottleneck is costly.

Application Monitoring in ARMS (Application Real-Time Monitoring Service) addresses this by automatically tracking every interface your application exposes and flagging slow calls -- without code changes. After you install an ARMS agent, it continuously profiles your application, captures distributed traces, and monitors interface performance.

This guide walks you through a troubleshooting workflow: check health metrics, identify slow interfaces, and drill into traces and method stacks to find the root cause.

Prerequisites

Before you begin, make sure that you have:

  • An Alibaba Cloud account with ARMS activated

  • An application connected to ARMS Application Monitoring with an ARMS agent installed. For installation methods, see Application Monitoring overview

Step 1: Check application health and slow SQL metrics

The Application Overview page provides a snapshot of your application's health. It tracks the following metrics and shows day-over-day and week-over-week trends:

MetricWhat it tells you
Average response timeOverall latency experienced by callers
Total requestsTraffic volume during the selected period
ErrorsFailed requests that may indicate bugs or downstream issues
Real-time instancesNumber of active application instances
Full GC occurrencesGarbage collection pauses that can cause stuttering
Slow SQL queriesDatabase queries exceeding the slow threshold
ExceptionsRuntime exceptions thrown by the application
Slow callsInterface calls exceeding the response time threshold
  1. Log on to the ARMS console. In the left-side navigation pane, choose Application Monitoring > Application List.

  2. On the Application List page, select a region in the top navigation bar, then click the name of your application.

    Note

    If the Java icon icon appears in the Language column, the application is connected to Application Monitoring. If a hyphen (-) appears, the application is connected to Managed Service for OpenTelemetry.

  3. On the Application Overview page, click the Overview tab. The tab displays the total number of slow SQL queries along with day-over-day and week-over-week changes. A rising slow SQL count often signals a database-related bottleneck worth investigating first.

    Overview analysis

Step 2: Identify slow interfaces

The Interface Invocation page lists every interface your application exposes, along with its call count and response time. ARMS marks slow interfaces so you can quickly identify which endpoints need attention.

  1. In the left-side navigation pane, click Interface Invocation.

  2. In the left-side panel, click a slow interface to view its details. Focus on interfaces with high response times or a large number of slow calls. These are the most likely sources of user-facing latency.

    Interface invocation

Step 3: Locate the faulty code with trace details

After you identify a slow interface, drill into its traces to find the specific code responsible. Interface snapshots capture complete trace records -- every call in the chain and its duration -- so you can pinpoint exactly where time is spent.

  1. On the right side of the Interface Invocation page, click the Interface snapshot tab. This tab displays all captured traces for the selected interface.

  2. Click a trace ID to open the trace details.

  3. In the trace details panel, review the call hierarchy and timing breakdown. In the Details column, click the magnifier icon to inspect method stacks and context information.

    Note

    For more ways to query and filter traces, see Trace query.

After you identify the root cause of a specific slow call, return to the Interface Invocation page and repeat this process for other slow interfaces in the list.

Set up alerting for ongoing monitoring

To catch performance regressions early, configure alert rules for one or more interfaces. When exceptions occur, ARMS sends alert notifications to your operations team automatically.

For details, see Application Monitoring alert rules.