OpenSearch allows you to use Cloud Monitor to monitor applications. Cloud Monitor collects metrics, such as DocSizebyApp, ComputeResourcebyApp, and QPSbyApp. You can use Cloud Monitor 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. |
View metric details
Log on to the OpenSearch console. On the Applications 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 Cloud Monitor to view the resource usage of the application.

3. On the Cloud Monitor page, view metric details.

Enable the initiative alert feature
After the initiative alert feature is enabled, Cloud Monitor can generate alerts only for 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 with an Alibaba Cloud account. On the Applications page, click Initiative Alerts. You can also log on to the Cloud Monitor 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 Cloud Monitor console, choose Alerts > Initiative Alert. On the Initiative Alert List page, find OpenSearch and turn on Initiative Alert. You can click the Show icon next to OpenSearch to view and configure alert rules.

Customize alert rules
This section describes how to create a custom alert rule and configure alert contacts. For more information, see Create alert rules and Configure alert contacts.
If these topics cannot help you resolve the issues related to Cloud Monitor, submit a ticket.