public class PrometheusJobScrapeStatistics extends AbstractModel
header, skipSign
Constructor and Description |
---|
PrometheusJobScrapeStatistics() |
PrometheusJobScrapeStatistics(PrometheusJobScrapeStatistics 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 |
getJobName()
Get Job 名
|
String |
getJobType()
Get Job 类型
|
PrometheusMetricScrapeStatistics[] |
getMetrics()
Get 指标列表
注意:此字段可能返回 null,表示取不到有效值。
|
Float |
getScrapedRate()
Get 被采集的点数
|
void |
setJobName(String JobName)
Set Job 名
|
void |
setJobType(String JobType)
Set Job 类型
|
void |
setMetrics(PrometheusMetricScrapeStatistics[] Metrics)
Set 指标列表
注意:此字段可能返回 null,表示取不到有效值。
|
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, toJsonString
public PrometheusJobScrapeStatistics()
public PrometheusJobScrapeStatistics(PrometheusJobScrapeStatistics source)
public String getJobName()
public void setJobName(String JobName)
JobName
- Job 名public Float getScrapedRate()
public void setScrapedRate(Float ScrapedRate)
ScrapedRate
- 被采集的点数public PrometheusMetricScrapeStatistics[] getMetrics()
public void setMetrics(PrometheusMetricScrapeStatistics[] Metrics)
Metrics
- 指标列表
注意:此字段可能返回 null,表示取不到有效值。public String getJobType()
public void setJobType(String JobType)
JobType
- Job 类型Copyright © 2025. All rights reserved.