AppID of a Tencent Cloud account is the application ID that has a unique correspondence with the account ID, which will be used by some Tencent Cloud services.period parameter. When the GetMonitorData API is called to get monitoring data, the values of period, startTime, and endTime parameters determine the amount of data to be returned. For example, calling this API with the default values of all parameters will return the statistics for every 300 seconds in the last hour, i.e., a total of 12 data points.
Data granularities are also important for alarms. When creating an alarm trigger condition, you need to set the data granularity and period for the alarm rule. Different granularities and periods indicate different alarm judgment durations.Sum, Max, Min, Avg, or Last.
For example, a metric has data of the following granularities: 10 seconds, 60 seconds, and 300 seconds. The time dimension statistical method determines how to calculate 1 piece of data of the 60-second granularity by using 6 pieces of data of the 10-second granularity, and how to calculate 1 piece of data of the 300-second granularity by using 5 pieces of data of the 60-second granularity.
A metric supports a maximum of 5 levels of calculation: 10 seconds, 1 minute, 5 minutes, 1 hour, and 1 day. Each level of calculation uses the same statistic method.Sum, Max, Min, and Avg.
When you want to calculate the total data of a metric of all servers in a cluster, the object dimension statistical method determines how to aggregate the data of all servers in the cluster. For example, to calculate the average CPU utilization of the cluster, the aggregation method is Avg; to calculate the total bandwidth of the cluster, the aggregation method is Sum.proc_name (process name) can identify monitored object A (IP=1.1.1.1&proc_name=test).
When you input metric data of a cloud service into Tencent Cloud Observability Platform, you need to specify appropriate dimensions (dimensions are preset for metrics that are preconfigured by the system). An error occurs if an undefined dimension is used for retrieval.Feedback