OpenSearch allows you to use CloudMonitor to monitor applications. CloudMonitor collects metrics, such as DocSizebyApp, ComputeResourcebyApp, and QPSbyApp. You can use CloudMonitor to monitor the resource usage of an application and configure alert rules for metrics.
Metrics
Metric | Description |
DocSizebyApp | The total storage capacity that is used. |
DocSizeRatiobyApp | The ratio of the storage usage to the document quota. |
DocCountbyApp | The total number of documents. |
QPSbyApp | The number of queries per second. |
LossQPSbyApp | The number of queries that are throttled per second. |
LatencybyApp | The duration of a single query, in milliseconds. |
ComputeResourcebyApp | The number of logical computing units used for queries per second. |
ComputeResourceRatiobyApp | The ratio of the logical computing units that are used for queries per second to the quota of logical computing units. |
ComputeCostbyApp | The logical computing units that are consumed in a single query. |
DailyPeakComputeResourcebyApp | The maximum number of logical computing units that can be used for queries per day. |
APP Batch Import Throughput | The number of bytes that an application reads from a data source per second when full data is imported. |
APP Batch Read TPS | The number of documents that an application reads from a database per second when full data is imported. |
App Batch Write TPS | The number of documents that an application writes to an engine per second when full data is imported and processed. In data processing, data may be merged or processed by using plug-ins. |
APP Realtime Input Throughput | The number of bytes that an application reads from a data source or by calling an API operation per second. |
APP Realtime Trigger Latency | The latency in updating the real-time data to secondary tables. |
APP Realtime Write Latency | The latency in updating the real-time data to the primary table. |
APP RT Read TPS | The number of documents that an application reads from a data source or by calling an API operation per second. |
APP RT Write TPS | The number of documents that an application writes to an engine per second when real-time data is imported and processed. In data processing, data may be merged or processed by using plug-ins. |
APP Slave Trigger TPS | The number of documents updated in the primary table per second due to the update of secondary tables. For example, one entry in a secondary table is updated per second, and the number of entries in the primary table is three times that of entries in the secondary table. In this case, three entries in the primary table may be updated per second. |
Application Realtime Push Throttling QPS | The number of times that an application pushes data per second to trigger throttling. |
View metrics that are monitored by CloudMonitor
Log on to the OpenSearch console. In the upper-left corner of the page, move the pointer over the place where the OpenSearch edition is displayed and select OpenSearch High-performance Search Edition. By default, the Instance Management page is displayed. On the Instance Management page, find the application that you want to view and click Details in the Actions column.

2. In the upper-right corner of the Application Details page, click View CloudMonitor Metrics to view the resource usage of the application.
3. On the View CloudMonitor Metrics page, view metric details.
Enable the initiative alert feature
By default, the initiative alert feature of CloudMonitor supports only the following metrics: DocSizeRatiobyApp, ComputeResourceRatiobyApp, LossQPSbyApp, and APP Realtime Write Latency. You can enable the initiative alert feature by performing the following steps:
Log on to the OpenSearch console by using your Alibaba Cloud account. In the upper-left corner of the page, move the pointer over the place where the OpenSearch edition is displayed and select OpenSearch High-performance Search Edition. By default, the Instance Management page is displayed. On the Instance Management page, click Initiative Alert. You can also log on to the CloudMonitor console and perform the operations described in Step 3.

2. In the Initiative Alert message, click Enable Now if the initiative alert feature is in the Disabled state.

3. In the left-side navigation pane of the CloudMonitor console, choose Alerts > Initiative Alert. On the Initiative Alert page, find OpenSearch and turn on Initiative Alert. You can click the Show icon next to OpenSearch to view and configure alert rules.

Create a custom alert rule
You can create a custom alert rule and configure alert contacts. For more information, see Create an alert rule and Create an alert contact or alert contact group.
If these topics cannot help you resolve the issues related to CloudMonitor, submit a ticket.