public class PrometheusMetricScrapeStatistics extends AbstractModel
header, skipSign
Constructor and Description |
---|
PrometheusMetricScrapeStatistics() |
PrometheusMetricScrapeStatistics(PrometheusMetricScrapeStatistics 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 |
---|---|
Boolean |
getIsRecommended()
Get 是否推荐采集
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getMetricName()
Get 指标名
注意:此字段可能返回 null,表示取不到有效值。
|
Float |
getSamplesRate()
Get 原始数据中的点数
注意:此字段可能返回 null,表示取不到有效值。
|
Float |
getScrapedRate()
Get 被采集的点数
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setIsRecommended(Boolean IsRecommended)
Set 是否推荐采集
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setMetricName(String MetricName)
Set 指标名
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setSamplesRate(Float SamplesRate)
Set 原始数据中的点数
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setScrapedRate(Float ScrapedRate)
Set 被采集的点数
注意:此字段可能返回 null,表示取不到有效值。
|
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, toJsonString
public PrometheusMetricScrapeStatistics()
public PrometheusMetricScrapeStatistics(PrometheusMetricScrapeStatistics source)
public String getMetricName()
public void setMetricName(String MetricName)
MetricName
- 指标名
注意:此字段可能返回 null,表示取不到有效值。public Float getSamplesRate()
public void setSamplesRate(Float SamplesRate)
SamplesRate
- 原始数据中的点数
注意:此字段可能返回 null,表示取不到有效值。public Float getScrapedRate()
public void setScrapedRate(Float ScrapedRate)
ScrapedRate
- 被采集的点数
注意:此字段可能返回 null,表示取不到有效值。public Boolean getIsRecommended()
public void setIsRecommended(Boolean IsRecommended)
IsRecommended
- 是否推荐采集
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2025. All rights reserved.