public static final class PutLogMonitorRequest.Groupbys.Builder extends Object
构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
PutLogMonitorRequest.Groupbys.Builder |
alias(String alias)
The function that is used to aggregate the monitoring data of logs within an aggregation period.
|
PutLogMonitorRequest.Groupbys |
build() |
PutLogMonitorRequest.Groupbys.Builder |
fieldName(String fieldName)
The ID of the application group.
|
public PutLogMonitorRequest.Groupbys.Builder alias(String alias)
* count: counts the number. * sum: calculates the total value. * avg: calculates the average value. * max: selects the maximum value. * min: selects the minimum value. * countps: calculates the counted number of the specified field divided by the total number of seconds of the aggregation period. * sumps: calculates the total value of the specified field divided by the total number of seconds of the aggregation period. * distinct: counts the number of logs where the specified field appears within the aggregation period.
public PutLogMonitorRequest.Groupbys.Builder fieldName(String fieldName)
public PutLogMonitorRequest.Groupbys build()
Copyright © 2023. All rights reserved.