public static class ModifyHybridMonitorTaskRequest.ModifyHybridMonitorTaskRequestSLSProcessConfigStatistics
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
alias
The alias of the aggregation result.
|
String |
function
The function that is used to aggregate the log data of a statistical period.
|
String |
parameter1
The value of the function that is used to aggregate logs imported from Log Service.
|
String |
parameter2
The value of the function that is used to aggregate logs imported from Log Service.
|
String |
SLSKeyName
The name of the key that is used to aggregate logs imported from Log Service.
|
| 构造器和说明 |
|---|
ModifyHybridMonitorTaskRequestSLSProcessConfigStatistics() |
@NameInMap(value="Alias") public String alias
The alias of the aggregation result.
@NameInMap(value="Function") public String function
The function that is used to aggregate the log data of a statistical period. Valid values:
* count: counts the number.
* sum: calculates the total value.
* avg: calculates the average value.
* max: calculates the maximum value.
* min: calculates the minimum value.
* value: collects samples within the statistical period.
* countps: calculates the counted number of the specified field divided by the total number of seconds within the statistical period.
* sumps: calculates the total value of the specified field divided by the total number of seconds within the statistical period.
* distinct: counts the number of logs where the specified field appears within the statistical period.
* distribution: counts the number of logs that meet a specified condition within the statistical period.
* percentile: sorts the values of the specified field in ascending order, and then returns the value that is at the specified percentile within the statistical period. Example: P50.
@NameInMap(value="Parameter1") public String parameter1
The value of the function that is used to aggregate logs imported from Log Service.
* If the `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.
* If you set the `Function` parameter to `percentile`, this parameter specifies the percentile at which the expected value is. For example, 0.5 specifies P50.
@NameInMap(value="Parameter2") public String parameter2
The value of the function that is used to aggregate logs imported from Log Service.
> This parameter must be specified when `Function` is set to `distribution`. 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.
@NameInMap(value="SLSKeyName") public String SLSKeyName
The name of the key that is used to aggregate logs imported from Log Service.
public ModifyHybridMonitorTaskRequestSLSProcessConfigStatistics()
public static ModifyHybridMonitorTaskRequest.ModifyHybridMonitorTaskRequestSLSProcessConfigStatistics build(Map<String,?> map) throws Exception
Exceptionpublic ModifyHybridMonitorTaskRequest.ModifyHybridMonitorTaskRequestSLSProcessConfigStatistics setAlias(String alias)
public String getAlias()
public ModifyHybridMonitorTaskRequest.ModifyHybridMonitorTaskRequestSLSProcessConfigStatistics setFunction(String function)
public String getFunction()
public ModifyHybridMonitorTaskRequest.ModifyHybridMonitorTaskRequestSLSProcessConfigStatistics setParameter1(String parameter1)
public String getParameter1()
public ModifyHybridMonitorTaskRequest.ModifyHybridMonitorTaskRequestSLSProcessConfigStatistics setParameter2(String parameter2)
public String getParameter2()
public ModifyHybridMonitorTaskRequest.ModifyHybridMonitorTaskRequestSLSProcessConfigStatistics setSLSKeyName(String SLSKeyName)
public String getSLSKeyName()
Copyright © 2024. All rights reserved.