public static class CreateHybridMonitorTaskRequest.CreateHybridMonitorTaskRequestSLSProcessConfigStatistics
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 Simple Log Service.
|
String |
parameter2
The value of the function that is used to aggregate logs imported from Simple Log Service.
|
String |
SLSKeyName
The name of the key that is used to aggregate logs imported from Simple Log Service.
|
| 构造器和说明 |
|---|
CreateHybridMonitorTaskRequestSLSProcessConfigStatistics() |
@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 number of values of the specified field divided by the total number of seconds within a statistical period.
* sumps: calculates the sum of the values of the specified field divided by the total number of seconds within a statistical period.
* distinct: calculates the number of unique values of the specified field within a statistical period.
* distribution: calculates 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 Simple 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 the `Function` parameter is set 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 Simple Log Service.
> This parameter is required only if the `Function` parameter 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 Simple Log Service.
public CreateHybridMonitorTaskRequestSLSProcessConfigStatistics()
public static CreateHybridMonitorTaskRequest.CreateHybridMonitorTaskRequestSLSProcessConfigStatistics build(Map<String,?> map) throws Exception
Exceptionpublic CreateHybridMonitorTaskRequest.CreateHybridMonitorTaskRequestSLSProcessConfigStatistics setAlias(String alias)
public String getAlias()
public CreateHybridMonitorTaskRequest.CreateHybridMonitorTaskRequestSLSProcessConfigStatistics setFunction(String function)
public String getFunction()
public CreateHybridMonitorTaskRequest.CreateHybridMonitorTaskRequestSLSProcessConfigStatistics setParameter1(String parameter1)
public String getParameter1()
public CreateHybridMonitorTaskRequest.CreateHybridMonitorTaskRequestSLSProcessConfigStatistics setParameter2(String parameter2)
public String getParameter2()
public CreateHybridMonitorTaskRequest.CreateHybridMonitorTaskRequestSLSProcessConfigStatistics setSLSKeyName(String SLSKeyName)
public String getSLSKeyName()
Copyright © 2024. All rights reserved.