Application Real-Time Monitoring Service (ARMS) provides the Application Monitoring module to help you troubleshoot issues that occurred within your applications based on the collected monitoring data. You can create a dashboard for an application monitoring job to monitor the application in real time.

Note Alibaba Cloud Application Real-Time Monitoring Service (ARMS) no longer supports the Dashboard feature. You can view monitoring metrics on Grafana dashboards.

Prerequisites

An application monitoring job is created in the ARMS console. For more information, see Create an application monitoring job.

Procedure

  1. Log on to the ARMS console.
  2. In the left-side navigation pane, click Dashboards. On the Dashboards page, choose Create Dashboard > Custom Dashboard in the upper-right corner.
  3. In the Create Dashboard dialog box, enter the dashboard name in the Dashboard Name field and click OK. For example, enter App Dashboard. The system creates a blank tab for this dashboard.
  4. Click the pencil icon in the upper part of the tab. In the Tab dialog box, enter the application name in the Tab Name field and click Save. For example, enter Tomcat-Demo.
    Dashboard Tab
  5. Add an application topology.
    1. In edit mode, choose Interactive Control > APM Monitoring Topology in the upper-right corner of the page.
    2. In the APM Topology dialog box, set parameters as required.
      ParameterDescription
      NameThe name of the topology.
      DatasetThe dataset that is used by the application monitoring job.
      Time Globally ControlledSpecifies whether the topology is subject to the global time range that is specified for the application monitoring job. Valid values:
      • Allow: The topology displays the data based on the global time range that is specified for the application monitoring job.
        Note In edit mode, you can specify a global time range in the upper-right corner of the page.
      • Forbid: The topology displays the data based on a specified time range instead of the global time range. If you select Forbid, the following two parameters are available:
        • Time Span: the time range of the data to be displayed. You can customize a time range for the topology. In this case, the topology is not subject to the global time range.
        • Real-Time Data: specifies whether the topology updates the data to be displayed in real time. Valid values:
          • Enable: The data to be displayed in the topology is updated in real time based on the time range that you specified.
          • Close: The data to be displayed in the topology is fixed to that within the time range that you specified.
    3. Click OK.
    Note In edit mode, you can drag the lower-right corner of the topology to resize it. You can also drag the topology to change its position on the canvas.
  6. Add an application monitoring chart. In edit mode, choose Interactive Control > APM Monitoring Graph in the upper-right corner of the page. In the New Interactive Chart dialog box, set parameters as required and click OK. For example, you can select an application site, select Invocation_Statistic from the Type drop-down list, select All from the Dimension drop-down list, and then select a.Invocation_count from the Metric drop-down list.
  7. Repeat the preceding step to add two more application monitoring charts. One is used to calculate the response time and the other is used to calculate the number of errors. In the New Interactive Chart dialog box, select the same application site, type, and dimension as the previous step, but select a.response time_ms (response time) and a.errorcount (error count) from the Metric drop-down list.

  8. Optional:To create dashboards for more applications, click the add icon (+) in the upper part of the tab, and follow the preceding steps to add application monitoring charts.
  9. To view a dashboard in full-screen mode, perform the following operations: In edit mode, click View Mode and then Full-screen in the upper-right corner of the page. In the Full-screen Settings dialog box, select the dashboard that you want to view in full-screen mode and click OK.
    Note To switch to the dark theme, click Edit Mode and choose Theme > Dark in the upper-right corner of the page.

References