public static final class ModifyHybridMonitorTaskRequest.Statistics.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
ModifyHybridMonitorTaskRequest.Statistics.Builder |
alias(String alias)
The alias of the aggregation result.
|
ModifyHybridMonitorTaskRequest.Statistics |
build() |
ModifyHybridMonitorTaskRequest.Statistics.Builder |
function(String function)
The function that is used to aggregate the log data of a statistical period.
|
ModifyHybridMonitorTaskRequest.Statistics.Builder |
parameter1(String parameter1)
The value of the function that is used to aggregate logs imported from Simple Log Service.
|
ModifyHybridMonitorTaskRequest.Statistics.Builder |
parameter2(String parameter2)
The value of the function that is used to aggregate logs imported from Simple Log Service.
|
ModifyHybridMonitorTaskRequest.Statistics.Builder |
SLSKeyName(String SLSKeyName)
The name of the key that is used to aggregate logs imported from Simple Log Service.
|
public ModifyHybridMonitorTaskRequest.Statistics.Builder alias(String alias)
The alias of the aggregation result.
example:level_count
public ModifyHybridMonitorTaskRequest.Statistics.Builder function(String function)
The function that is used to aggregate the log data of a statistical period. Valid values:
count
public ModifyHybridMonitorTaskRequest.Statistics.Builder parameter1(String parameter1)
The value of the function that is used to aggregate logs imported from Simple Log Service.
Function parameter is set to distribution, this parameter specifies the lower limit of the statistical interval. For example, if you want to calculate the number of HTTP requests whose status code is 2XX, set this parameter to 200.Function parameter is set to percentile, this parameter specifies the percentile at which the expected value is. For example, 0.5 specifies P50.200
public ModifyHybridMonitorTaskRequest.Statistics.Builder parameter2(String parameter2)
The value of the function that is used to aggregate logs imported from Simple Log Service.
example:This parameter is required only if the
Functionparameter is set todistribution. This parameter specifies the upper limit of the statistical interval. For example, if you want to calculate the number of HTTP requests whose status code is 2XX, set this parameter to 299.
299
public ModifyHybridMonitorTaskRequest.Statistics.Builder SLSKeyName(String SLSKeyName)
The name of the key that is used to aggregate logs imported from Simple Log Service.
example:name
public ModifyHybridMonitorTaskRequest.Statistics build()
Copyright © 2026. All rights reserved.