Monitor Service Operations
Monitor service overview
BOS monitoring service conducts data statistics, display, and alarming based on Baidu Cloud Monitor (BCM), providing monitoring data metrics in aspects such as the system’s basic data, traffic data, request data, and image processing data. BOS monitoring metrics are divided into basic data, traffic data, request data, data processing, and service monitoring. For details, see Monitoring Metrics.
Basic functions
Baidu Cloud Monitor (BCM) offers features for object storage, enabling comprehensive monitoring and alerting functionalities.
| Function | Capability | Main functions |
|---|---|---|
| Monitor information | Display current status of products | Provide basic information and monitoring data of various metrics |
| Alarm strategy | Provide alarm functions and configuration strategies | Support monitoring and alarming of object storage BOS through multiple notification channels, and users can customize alarm strategies |
| Alarm history | Display historical alarm records | View alarm history within a specified time period and count abnormal data during that period |
Use monitor service
Detailed monitoring information can be accessed through the BOS bucket list in Baidu Cloud Monitor (BCM), which includes monitoring metrics, alarm strategies, and alarm history.
- Sign in to Baidu Cloud Monitor (BCM) Console.
- Click on the bucket name in the object storage BOS bucket list.
- Navigate to the BOS object storage monitoring page to examine the user's monitoring details.
- Basic data
| Monitoring dimensions | Metric description |
|---|---|
| Standard storage - multi-AZ | This metric includes the size of space occupied by standard storage - multi-AZ, the number of standard storage - multi-AZ files, the number of standard storage - multi-AZ read requests, the number of standard storage - multi-AZ write requests, the number of standard storage - multi-AZ read error requests, the number of standard storage - multi-AZ write error requests, the total space occupied by standard storage - multi-AZ under the account, and the total number of standard storage - multi-AZ files under the account |
| Standard storage | This metric includes the size of space occupied by standard storage, the number of standard storage class files, the number of standard storage read requests, the number of standard storage write requests, the number of standard storage read error requests, and the number of standard storage write error requests |
| Infrequent access storage - multi-AZ | This metric includes the size of space occupied by infrequent access storage - multi-AZ, the number of infrequent access storage - multi-AZ files, the number of infrequent access storage - multi-AZ read requests, the number of infrequent access storage - multi-AZ write requests, the number of infrequent access storage - multi-AZ read error requests, the number of infrequent access storage - multi-AZ write error requests, the size of data restored from infrequent access storage - multi-AZ, the total space occupied by infrequent access storage - multi-AZ under the account, the total number of infrequent access storage - multi-AZ files under the account, and the minimum stored data in infrequent access storage - multi-AZ |
| Infrequent access storage | This metric includes the size of space occupied by infrequent access storage, the number of infrequent access storage class files, the number of infrequent access storage read requests, the number of infrequent access storage write requests, the number of infrequent access storage read error requests, the number of infrequent access storage write error requests, the size of data restored from infrequent access storage, and the minimum stored data in infrequent access storage |
| Cold storage | This metric includes the size of space occupied by cold storage, the number of cold storage class files, the number of cold storage read requests, the number of cold storage write requests, the number of cold storage read error requests, the number of cold storage write error requests, the size of data restored from cold storage, and the minimum stored data in cold storage |
| Archive storage | This metric includes the size of space occupied by archive storage, the number of archive storage class files, the number of archive storage read requests, the number of archive storage write requests, the number of archive storage read error requests, the number of archive storage write error requests, the number of bytes restored through standard restoration from archive storage, the minimum stored data in archive storage, the number of bytes restored through expedited restoration from archive storage, the number of bytes restored through deferred restoration from archive storage, the number of expedited restoration operations from archive storage, the number of standard restoration operations from archive storage, and the number of deferred restoration operations from archive storage |
| Intelligent Storage | This metric includes the capacity of standard storage converted to infrequent access storage, the capacity of infrequent access storage converted to cold storage, the capacity of cold storage upgraded to infrequent access storage, and the capacity of infrequent access storage upgraded to standard storage |
- Traffic data
| Monitoring dimensions |
|---|
| Internet read throughput |
| Internet write throughput |
| Internet write throughput per second |
| Internet read throughput per second |
| Intranet read throughput per second |
| Intranet write throughput per second |
| CDN back-to-origin traffic |
| Cross-region replication egress traffic |
| Cross-region replication ingress traffic |
| Intra-region replication egress traffic |
| Intra-region replication ingress traffic |
| Replication egress traffic total |
| Replication ingress traffic total |
- Request data
| Monitoring dimensions | Metric description |
|---|---|
| Read/Write/Delete statistics | This metric includes the total number of delete requests per second, the total number of read requests per second, and the total number of write requests per second |
| HttpCode statistics | This metric includes the number of requests with a return status code of 2XX, 3XX, 4XX, 5XX, 408, and 499 |
| Request latency | This metric includes the average processing time of BOS backend, the average write processing time of BOS backend, the average read processing time of BOS backend, the number of write requests with excessively long backend processing time (1 s), the total number of requests with excessively long backend processing time (1 s), the number of read requests with excessively long backend processing time (1 s), the total number of requests with excessively long backend processing time (5 s), the number of write requests with excessively long backend processing time (5 s), and the number of read requests with excessively long backend processing time (5 s) |
| API statistics | This metric includes the total number of Get Object requests, List Object requests, Head Object requests, Put Object requests, DeleteObject requests, the proportion of client disconnection requests, and the proportion of client timeout requests |
| Rate limiting monitoring statistics | This metric includes the total number of times soft rate limiting is triggered, the total number of times hard rate limiting is triggered, and the total number of times rate limiting warnings are triggered |
- Image processing data
| Monitoring dimensions |
|---|
| Basic image processing usage |
| Basic image processing calls |
| Heic compression (under800x600) |
| Heic compression (above800x600) |
| Webp compression (under 800x600) |
| Webp compression (above 800x600) |
| Video frame capture calls |
| Obtain video metadata calls |
- Service monitoring overview
| Monitoring dimensions |
|---|
| Availability |
Monitoring metric reference
- Scope: BCE_BOS
- Dimension: BucketId;UserId
| Category | Metric name (English) | Metric name (Chinese) | Unit | Dimension | Remarks |
| Basic data | BucketMAZSpaceUsedBytes | Standard storage - multi-AZ space usage | Bytes | BucketID | |
| BucketMAZObjectCount | Number of files in standard storage -multi-AZ | Count | BucketID | ||
| MAZReadOpCount | Standard storage -multi-AZ read requests | Count | BucketID | ||
| MAZWriteOpCount | Standard storage -multi-AZ write requests | Count | BucketID | ||
| MAZReadErrorOpCount | Standard storage -multi-AZ read error requests | Count | BucketID | ||
| MAZWriteErrorOpCount | Standard storage -multi-AZ write error requests | Count | BucketID | ||
| MAZSpaceUsedBytes | Standard storage - multi-AZ space usage per account | Bytes | UserID | ||
| MAZObjectCount | Total number of files in standard storage - multi-AZ per account | Count | UserID | ||
| BucketSpaceUsedBytes | Standard storage space usage | Bytes | BucketID | ||
| BucketObjectCount | Number of standard storage class file | Count | BucketID | ||
| ReadOpCount | Standard storage read requests | Count | BucketID | ||
| WriteOpCount | Standard storage write requests | Count | BucketID | ||
| ReadErrorOpCount | Standard storage read error requests | Count | BucketID | ||
| WriteErrorOpCount | Standard storage write error requests | Count | BucketID | ||
| BucketMAZStandardIASpaceUsedBytes | Infrequent access storage -multi-AZ space usage | Bytes | BucketID | ||
| BucketMAZStandardIAObjectCount | Number of files in infrequent access storage -multi-AZ | Count | BucketID | ||
| MAZStandardIAReadOpCount | Infrequent access storage -multi-AZ read requests | Count | BucketID | ||
| MAZStandardIAWriteOpCount | Infrequent access storage -multi-AZ write requests | Count | BucketID | ||
| MAZStandardIAReadErrorOpCount | Infrequent access storage -multi-AZ read error requests | Count | BucketID | ||
| MAZStandardIAWriteErrorOpCount | Infrequent access storage -multi-AZ write error requests | Count | BucketID | ||
| MAZStandardIARetrievalBytes | Size of data restored from infrequent access storage - multi-AZ | Bytes | BucketID | ||
| MAZStandardIASpaceUsedBytes | Infrequent access storage - multi-AZ space usage per account | Bytes | UserID | ||
| MAZStandardIAObjectCount | Total number of files in infrequent access storage - multi-AZ per account | Count | UserID | ||
| BucketStandardIAStorageBytes | Infrequent access storage space usage | Bytes | BucketID | ||
| BucketStandardIAObjectCount | Number of files in infrequent access storage | Count | BucketID | ||
| StandardIAReadOpCount | Infrequent access storage read requests | Count | BucketID | ||
| StandardIAWriteOpCount | Infrequent access storage write requests | Count | BucketID | ||
| StandardIAReadErrorOpCount | Infrequent access storage read error requests | Count | BucketID | ||
| StandardIAWriteErrorOpCount | Infrequent access storage write error requests | Count | BucketID | ||
| StandardIARetrievalBytes | Infrequent access storage restore size | Bytes | BucketID | ||
| BucketColdSpaceUsedBytes | Cold storage space usage | Bytes | BucketID | ||
| BucketColdObjectCount | Number of files in cold storage | Count | BucketID | ||
| ColdReadOpCount | Cold storage read requests | Count | BucketID | ||
| ColdWriteOpCount | Cold storage write requests | Count | BucketID | ||
| ColdReadErrorOpCount | Cold storage read error requests | Count | BucketID | ||
| BucketArchiveSpaceUsedBytes | Archive storage space usage | Bytes | BucketID | ||
| BucketArchiveObjectCount | Number of files in archive storage | Count | BucketID | ||
| ArchiveReadOpCount | Archive storage read requests | Count | BucketID | ||
| ArchiveWriteOpCount | Archive storage write requests | Count | BucketID | ||
| ArchiveReadErrorOpCount | Archive storage read error requests | Count | BucketID | ||
| ArchiveWriteErrorOpCount | Archive storage write error requests | Count | BucketID | ||
| ArchiveRetrievalBytes | Archive storage restore bytes | Bytes | BucketID | ||
| ArchiveMinTimedStorage | Minimum archive storage | Bytes*Second | BucketID | ||
| StandardTransforToStandardIA | Standard to infrequent access storage capacity | Byte | BucketID | ||
| StandardIATransforToCold | Infrequent access to cold storage capacity | Byte | BucketID | ||
| ColdTransforToStandardIA | Cold to infrequent access storage promotion | Byte | BucketID | ||
| StandardIATransforToStandard | Infrequent access to standard storage promotion | Byte | BucketID | ||
| Traffic data | ReadBytes | Internet read throughput | Bytes | BucketID | |
| WriteBytes | Internet write throughput | Bytes | BucketID | ||
| InternetWriteBandwidth | Internet write throughput per second | bps | BucketID | ||
| InternetReadBandwidth | Internet read throughput per second | bps | BucketID | ||
| IntranetReadBandwidth | Intranet read throughput per second | bps | BucketID | ||
| IntranetWriteBandwidth | Intranet write throughput per second | bps | BucketID | ||
| CDN1ReadBytes | CDN back-to-origin traffic | Bytes | BucketID | ||
| XRegionCopyBytes | Cross-region replication egress traffic | Bytes | BucketID | ||
| XRegionInCopyBytes | Cross-region replication ingress traffic | Bytes | BucketID | ||
| ERegionCopyBytes | Intra-region replication egress traffic | Bytes | BucketID | ||
| ERegionInCopyBytes | Intra-region replication ingress traffic | Bytes | BucketID | ||
| TotalCopyBytes | Replication egress traffic total | Bytes | BucketID | ||
| TotalInCopyBytes | Replication ingress traffic total | Bytes | BucketID | ||
| Request data | DeleteRequestsPerSecond | Delete requests per second | rps | BucketID | |
| GetRequestsPerSecond | Total read requests per second | rps | BucketID | ||
| PutRequestsPerSecond | Total write requests per second | rps | BucketID | ||
| TotalSuccessOpCount | Number of requests with 2XX response | Count | BucketID | ||
| TotalRedirectOpCount | Number of requests with 3XX response | Count | BucketID | ||
| TotalClientErrorOpCount | Number of requests with 4XX response | Count | BucketID | ||
| TotalServerErrorOpCount | Number of requests with 5XX response | Count | BucketID | ||
| TotalRequestTimeoutCount | Number of requests with 408 response | Count | BucketID | ||
| ClientDisconnectCount | Number of requests with 499 response | Count | BucketID | ||
| ListObjectCount | Total List Object requests | Count | BucketID | ||
| GetObjectCount | Total Get Object requests | Count | BucketID | ||
| PutObjectCount | Total Put Object requests | Count | BucketID | ||
| DeleteObjectCount | Total DeleteObject requests | Count | BucketID | ||
| HeadObjectCount | Total Head Object requests | Count | BucketID | ||
| ClientDisconnectErrorRate | Client disconnection request ratio | % | BucketID | ||
| ClientTimeoutErrorRate | Client timeout request ratio | % | BucketID | ||
| AlertFlowControlCount | Total throttling trigger warnings | Count | BucketID | ||
| SoftFlowControlCount | Total soft throttling triggers | Count | BucketID | ||
| HardFlowControlCount | Total hard throttling triggers | Count | BucketID | ||
| TurnAroundTime | BOS backend average processing time | Millisecond | BucketID | ||
| PutAvgTurnAroundTime | BOS backend average write processing time | Millisecond | BucketID | ||
| GetAvgTurnAroundTime | BOS backend average read processing time | Millisecond | BucketID | ||
| TurnAroundTimeWarnCount | Total requests with backend processing timeout (1s) | count | BucketID | ||
| GetTurnAroundTimeWarnCount | Read requests with backend processing timeout (1s) | count | BucketID | ||
| PutTurnAroundTimeWarnCount | Write requests with backend processing timeout (1s) | count | BucketID | ||
| TurnAroundTimeWarn5sCount | Number of requests with backend processing timeout (5s) | count | BucketID | ||
| GetTurnAroundTimeWarn5sCount | Read requests with backend processing timeout (5s) | count | BucketID | ||
| PutTurnAroundTimeWarn5sCount | Write requests with backend processing timeout (5s) | count | BucketID | ||
| Data processing | ImageBasics1Bytes | Basic image processing usage | Bytes | BucketID | |
| ImageBasics1Count | Basic image processing calls | Count | BucketID | ||
| ImageHeic1Count | Heic compression (under800x600) | Count | BucketID | ||
| ImageHeic2Count | Heic compression (above800x600) | Count | BucketID | ||
| ImageWebp1Count | Webp compression (under 800x600) | Count | BucketID | ||
| ImageWebp2Count | Webp compression (above 800x600) | Count | BucketID | ||
| VideoSnapshotCount | Video frame capture calls | Count | BucketID | ||
| VideoInfoCount | Obtain video metadata calls | Count | BucketID | ||
| Service monitor | Availability | Availability | % | BucketID |
### Monitoring data retention policy
Historical monitoring data will be stored for 40 days and automatically deleted after that period.
OpenAPI access to monitoring data
Java code example:
1public static void main( String[] args )
2 {
3 searchBCM();
4 }
5public static void searchBCM(){
6 // params definition
7 String endpoint = "http://bcm.bj.baidubce.com";
8 String userId = "xxx"; // Baidu AI Cloud account ID
9 String ak = "xxx";
10 String sk = "xxx";
11 String scope = "BCE_BOS";
12 String metricName = "BucketSpaceUsedBytes"; // For monitoring fields, please refer to: https://ku.baidu-int.com/knowledge/HFVrC7hq1Q/pKzJfZczuc/iEP_IS7I1z/Q0JyPCxC-jqT6i#anchor-fa5ac7f0-2a14-11ee-9203-7fb0cea3ad07
13 String dimensions = "BucketId:hj-test"; // For dimension information, please refer to the BCM document: https://cloud.baidu.com/doc/BCM/s/ujwvylt2m
14 Statistics[] statistics = new Statistics[]{Statistics.average,Statistics.maximum};
15 long now = System.currentTimeMillis();
16 String startTime = DateUtils.formatAlternateIso8601Date(new Date(now - 60 * 60 * 1000));
17 String endTime = DateUtils.formatAlternateIso8601Date(new Date(now));
18 int periodInSecond = 60;
19 // create a bcm client
20 BcmClientConfiguration config = new BcmClientConfiguration();
21 config.setCredentials(new DefaultBceCredentials(ak, sk));
22 config.setEndpoint(endpoint);
23 BcmClient bcmClient = new BcmClient(config);
24 // query metric data from bcm interface
25 MetricDataRequest request = new MetricDataRequest();
26 request.withUserId(userId)
27 .withScope(scope)
28 .withDimensions(dimensions)
29 .withMetricName(metricName)
30 .withStatistics(statistics)
31 .withStartTime(startTime)
32 .withEndTime(endTime)
33 .withPeriodInSecond(periodInSecond);
34 MetricDataResponse response = bcmClient.getMetricData(request);
35 System.out.println(JsonUtils.toJsonString(response));
36 }
Return result example (returns the change points of the standard storage space occupied by the bucket in the last hour)
1{"metadata":{"bceRequestId":"904c74a7-8ad2-4317-bb10-fc4c30cadd16","transferEncoding":"chunked","contentLength":-1,"contentType":"application/json;charset=UTF-8","date":1691137068000},"requestId":"904c74a7-8ad2-4317-bb10-fc4c30cadd16","code":"OK","message":"","dataPoints":[{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:17:47Z"},
2{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:18:47Z"},
3{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:19:47Z"},
4{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:20:47Z"},
5{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:21:47Z"},
6{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:22:47Z"},
7{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:23:47Z"},
8{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:24:47Z"},
9{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:25:47Z"},
10{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:26:47Z"},
11{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:27:47Z"},
12{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:28:47Z"},
13{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:29:47Z"},
14{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:30:47Z"},
15{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:31:47Z"},
16{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:32:47Z"},
17{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:33:47Z"},
18{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:34:47Z"},
19{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:35:47Z"},
20{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:36:47Z"},
21{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:37:47Z"},
22{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:38:47Z"},
23{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:39:47Z"},
24{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:40:47Z"},
25{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:41:47Z"},
26{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:42:47Z"},
27{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:43:47Z"},
28{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:44:47Z"},
29{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:45:47Z"},
30{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:46:47Z"},
31{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:47:47Z"},
32{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:48:47Z"},
33{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:49:47Z"},
34{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:50:47Z"},
35{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:51:47Z"},
36{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:52:47Z"},
37{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:53:47Z"},
38{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:54:47Z"},
39{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:55:47Z"},
40{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:56:47Z"},
41{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:57:47Z"},
42{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:58:47Z"},
43{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T07:59:47Z"},
44{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T08:00:47Z"},
45{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T08:01:47Z"},
46{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T08:02:47Z"},
47{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T08:03:47Z"},
48{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T08:04:47Z"},
49{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T08:05:47Z"},
50{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T08:06:47Z"},
51{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T08:07:47Z"},
52{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T08:08:47Z"},
53{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T08:09:47Z"},
54{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T08:10:47Z"},
55{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T08:11:47Z"},
56{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T08:12:47Z"},
57{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T08:13:47Z"},
58{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T08:14:47Z"},
59{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T08:15:47Z"},
60{"average":6.95464088E8,"maximum":6.95464088E8,"timestamp":"2023-08-04T08:16:47Z"},
61{"timestamp":"2023-08-04T08:17:47Z"}]}
Use the alarm service
When reviewing the usage of object storage BOS, you can define alarm rules. If the metrics meet the alarm conditions, Baidu Cloud Monitor (BCM) will alert users to abnormal data via email, SMS, or phone calls, enabling timely action.
Create alarm rules
- Sign in to Baidu Cloud Monitor (BCM) Console.
- In the left navigation bar, select Alarm Policies.
- On the Alarm Policies page, click Add Policy.
- In the Create Alarm Rule panel, set the parameters related to the alarm rule
| Parameter | Description |
|---|---|
| Policy name | Set the name for the alarm strategy. |
| Policy rules | Alarm levels include notification, important, warning, and critical. Users can select a level based on the impact each alarm has on their service. Customized alarm levels will appear in the alarm notifications. |
| Alarm rules support the use of “AND” and “OR” conditions. Within the alarm rules, you can configure the metric type, threshold, units, alarm frequency, and more. | |
| Users can decide whether to repeat the alarm if the issue is not resolved. | |
| Users can configure the recovery of the alarm status when the issue has been resolved. | |
| Users can specify whether to trigger alarm actions when monitoring data is insufficient. | |
| Alarm notification | Alarm notifications from Baidu Cloud Monitor (BCM) can be sent to individual users or groups of users, comprising one or more individuals. |
| Notification methods for users may include email, SMS, or phone calls. | |
| API callbacks are supported, and you can fill in a publicly accessible URL or webhooks of Infoflow, WeCom, DingTalk, Feishu, and Knock group robots. For details, see BCM Help Document. | |
| Users can define scheduled closing times and set whether the alarm should close automatically at those times. |
Manage alarm rules
You can perform the following operations on the created alarm rules:
| Operation | Description |
|---|---|
| Modify notification status | Choose whether to enable alarm notifications. |
| Copy alarm strategy | Click "Copy" to duplicate existing policy rules and alarm notifications. |
| Edit Alarm Strategy | Click "Edit" to modify alarm policies that have already been created successfully. |
| Delete Alarm Strategy | Click Delete to remove alarm rules that are no longer needed. |
View alarm history
- Click Alarm History on the left to enter the alarm history list API.
- Click Alarm Content to enter the details page of the alarm event you want to view.
- On the alarm details page, you can view the basic information, detailed data, and status change history of the alarm event.
