Package | Description |
---|---|
com.tencentcloudapi.monitor.v20180724 | |
com.tencentcloudapi.monitor.v20180724.models |
Modifier and Type | Method and Description |
---|---|
GetMonitorDataResponse |
MonitorClient.GetMonitorData(GetMonitorDataRequest req)
获取云产品的监控数据。此接口不适用于拉取容器服务监控数据,如需拉取容器服务监控数据,请使用[根据维度条件查询监控数据](https://cloud.tencent.com/document/product/248/51845)接口。
传入产品的命名空间、对象维度描述和监控指标即可获得相应的监控数据。
接口调用限制:单请求最多可支持批量拉取10个实例的监控数据,单请求的数据点数限制为1440个。
若您需要调用的指标、对象较多,可能存在因限频出现拉取失败的情况,建议尽量将请求按时间维度均摊。
参数SpecifyStatistics目前可支持返回三种统计方式(avg,max,min),分别为二进制1,2,4。
例子:3:avg+max,5:avg+min,6:max+min,7:avg+max+min
拉取数据的粒度和统计方式的对应关系尽量在接入平台进行配置,如果没有配置,因为更小粒度数据存储时间有限,拉取时间范围也是有限。
>?
>- 2022年9月1日起,腾讯云可观测平台开始对GetMonitorData接口计费。每个主账号每月可获得100万次免费请求额度,超过免费额度后如需继续调用接口需要开通 [API请求按量付费](https://buy.cloud.tencent.com/APIRequestBuy)。计费规则可查看[API计费文档](https://cloud.tencent.com/document/product/248/77914)。
|
Constructor and Description |
---|
GetMonitorDataResponse(GetMonitorDataResponse 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.
|
Copyright © 2024. All rights reserved.