It is a complex and time-consuming task to identify and troubleshoot exceptions. Application Real-Time Monitoring Service (ARMS) provides the active diagnostics feature to help you identify exceptions such as long response time.

Step 1: Install an ARMS agent

After you install an ARMS agent, ARMS can conduct all-around monitoring of your applications. Select one of the following methods to install an ARMS agent.

Step 2: View the diagnostic report

The installed ARMS agent collects and shows the metrics of applications such as Total Requests, Average Response Time, Errors, Real Time Instance Count, Full GC, Slow SQL, Exceptions, and Thread Profiling within the selected period of time. ARMS allows you to view the diagnostic report of troubleshooting metrics. You can also view the diagnostic report of a single metric on the Application Overview page.

View the diagnostic report of all metrics

  1. Log on to the ARMS console.
  2. In the left-side navigation pane, choose Application Monitoring > Applications. In the top navigation bar, select a region.

    On the Applications page, if the application has an exception, the Status column is displayed in red.

  3. On the Applications page, move the pointer over the row of the application. The An exception is detected. Click to view details message appears. Click the red dot to load the diagnostic report. After the diagnostic report is loaded, move the pointer over the red dot and click Diagnostic Report to go to the Diagnostic Report page.
    Health status of the application

    You can also click the name of the application on the Applications page to go to the Application Overview page. Move the pointer over the health icon on the right of Application Health Overview. If the healthAn exception is detected. Click to view details message appears, click the health icon to load the diagnostic report. After the diagnostic report is loaded, click the health icon again to go to the Diagnostic Report page.

    App health overview
  4. On the Diagnostic Report page, view the application name, diagnostic time, symptom, error demarcation, root cause analysis, and detection results of metrics.
    Figure 1. Diagnostic report
    Key application events

View the diagnostic report of a single metric

  1. On the Applications page, click the name of the application to go to the Application Overview page.
  2. On the Application Overview page, drag the pointer over the curve of a metric and select a time period. Click View report of selected time to go to the Details page. Diagnostic report for selected time period
  3. On the Details page, view the detection results of this metric for the selected time range. Test results

What to do next

To avoid passive diagnostics after an exception occurs, you can also use the alert feature of ARMS to create an alert for API operations. This ensures that the O&M team receives a notification in real time after an exception occurs.

To create an alert, see Create ARMS alerts.

References