public class InternalMetricQuery extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| InternalMetricQuery() | 
| InternalMetricQuery(InternalMetricQuery source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getAggregation()Get 聚合函数。取值范围:Rate,Count,Avg,P90,P95,P99,Gauge | 
| Filter[] | getFilters()Get 用标签过滤规则来过滤指标,规则中包含标签名 LabelName、标签值 LabelValue、操作符 Operator(0代表相等,1代表不等) | 
| String[] | getGroupBy()Get 指标分组 | 
| Label[] | getLabels()Get deprecated, 请使用Filters | 
| String | getMetric()Get 指标名 | 
| void | setAggregation(String Aggregation)Set 聚合函数。取值范围:Rate,Count,Avg,P90,P95,P99,Gauge | 
| void | setFilters(Filter[] Filters)Set 用标签过滤规则来过滤指标,规则中包含标签名 LabelName、标签值 LabelValue、操作符 Operator(0代表相等,1代表不等) | 
| void | setGroupBy(String[] GroupBy)Set 指标分组 | 
| void | setLabels(Label[] Labels)Set deprecated, 请使用Filters | 
| void | setMetric(String Metric)Set 指标名 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic InternalMetricQuery()
public InternalMetricQuery(InternalMetricQuery source)
public String getMetric()
public void setMetric(String Metric)
Metric - 指标名public String getAggregation()
public void setAggregation(String Aggregation)
Aggregation - 聚合函数。取值范围:Rate,Count,Avg,P90,P95,P99,Gaugepublic Label[] getLabels()
public void setLabels(Label[] Labels)
Labels - deprecated, 请使用Filterspublic Filter[] getFilters()
public void setFilters(Filter[] Filters)
Filters - 用标签过滤规则来过滤指标,规则中包含标签名 LabelName、标签值 LabelValue、操作符 Operator(0代表相等,1代表不等)public String[] getGroupBy()
public void setGroupBy(String[] GroupBy)
GroupBy - 指标分组Copyright © 2025. All rights reserved.