Overview

更新时间:
复制 MD 格式

Custom monitoring lets you define custom metrics. You can report your key business metrics to Cloud Monitor using the data reporting API for centralized monitoring.

Limits

The limits for reporting monitoring data are as follows:
  • The queries per second (QPS) limit is 200 for the China (Beijing), China (Shanghai), and China (Hangzhou) regions, 100 for the China (Zhangjiakou) and China (Shenzhen) regions, and 50 for all other regions.
  • A single request can contain a maximum of 100 data entries. The maximum body size is 256 KB.
  • metricName field supports only uppercase letters, lowercase letters, digits, and underscores (_). The name must start with a letter. If it starts with a non-letter character, that character is replaced with the uppercase letter "A". Invalid characters are replaced with underscores (_).
  • dimensions field does not support equal signs (=), ampersands (&), or commas (,). Invalid characters are replaced with underscores (_).
  • metricName and dimensions are limited to 64 bytes in length. Any content that exceeds this limit is truncated.
  • Reporting raw data is a paid feature. The Free Edition of Cloud Monitor lets you report aggregate data. To report aggregate data, set the `type` parameter to 1 in your request.
  • For other limits, see Billing methods.

Statistical methods

After you report raw data, Cloud Monitor calculates statistics at 1 minute and 5 minute intervals using the following methods.
Method Description
Average The average value.
Maximum The maximum value.
Minimum The minimum value.
Sum The sum.
SampleCount The count.
SumPerSecond The sum divided by the number of seconds in the epoch. This can also be calculated using a moving average.
CountPerSecond The count divided by the number of seconds in the epoch. This can also be calculated using a moving average.
LastValue The last sample value in the current reporting epoch.
P10 0.1th percentile, greater than 10% of the sample data in the current epoch
P20 The 20th percentile. This value is greater than 20% of all sample data in the epoch.
P30 The 30th percentile. This value is greater than 30% of all sample data in the epoch.
P40 The 40th percentile. This value is greater than 40% of all sample data in the epoch.
P50 The 50th percentile (median). This value is greater than 50% of all sample data in the epoch.
P60 The 60th percentile. This value is greater than 60% of all sample data in the epoch.
P70 The 70th percentile. This value is greater than 70% of all sample data in the epoch.
P75 The 75th percentile. This value is greater than 75% of all sample data in the epoch.
P80 The 80th percentile. This value is greater than 80% of all sample data in the epoch.
P90 The 90th percentile. This value is greater than 90% of all sample data in the epoch.
P95 The 95th percentile. This value is greater than 95% of all sample data in the epoch.
P98 The 98th percentile. This value is greater than 98% of all sample data in the epoch.
P99 The 99th percentile. This value is greater than 99% of all sample data in the epoch.

Reporting methods