public class PrometheusInstanceScrapeStatistics extends AbstractModel
header, skipSign| Constructor and Description |
|---|
PrometheusInstanceScrapeStatistics() |
PrometheusInstanceScrapeStatistics(PrometheusInstanceScrapeStatistics 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 |
|---|---|
PrometheusClusterScrapeStatistics[] |
getClusters()
Get 集群指标列表
|
PrometheusClusterScrapeStatistics[] |
getGlobal()
Get 非容器指标列表
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getInstanceId()
Get 实例ID
|
Float |
getSamplesRate()
Get 过滤前的指标采集速率
|
Float |
getScrapedRate()
Get 被采集的点数
|
void |
setClusters(PrometheusClusterScrapeStatistics[] Clusters)
Set 集群指标列表
|
void |
setGlobal(PrometheusClusterScrapeStatistics[] Global)
Set 非容器指标列表
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setInstanceId(String InstanceId)
Set 实例ID
|
void |
setSamplesRate(Float SamplesRate)
Set 过滤前的指标采集速率
|
void |
setScrapedRate(Float ScrapedRate)
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 PrometheusInstanceScrapeStatistics()
public PrometheusInstanceScrapeStatistics(PrometheusInstanceScrapeStatistics source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId - 实例IDpublic Float getScrapedRate()
public void setScrapedRate(Float ScrapedRate)
ScrapedRate - 被采集的点数public PrometheusClusterScrapeStatistics[] getClusters()
public void setClusters(PrometheusClusterScrapeStatistics[] Clusters)
Clusters - 集群指标列表public PrometheusClusterScrapeStatistics[] getGlobal()
public void setGlobal(PrometheusClusterScrapeStatistics[] Global)
Global - 非容器指标列表
注意:此字段可能返回 null,表示取不到有效值。public Float getSamplesRate()
public void setSamplesRate(Float SamplesRate)
SamplesRate - 过滤前的指标采集速率Copyright © 2025. All rights reserved.