检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
请求Body参数 参数 是否必选 参数类型 描述 [数组元素] 是 Array of MetricDataItem objects 指标参数信息。 表4 MetricDataItem 参数 是否必选 参数类型 描述 collect_time 是 Long 数据收集时间支持过去1天
触发频率的类型: “FIXED_RATE”:固定间隔 “HOURLY”:每小时 “DAILY”:每天 “WEEKLY”:每周 “CRON”:Cron表达式 枚举值: FIXED_RATE HOURLY DAILY WEEKLY CRON promql_for 否 String Prometheus原生监控时长。
namespace 是 String 时间序列命名空间。取值范围: PAAS.CONTAINER、PAAS.NODE、PAAS.SLA、PAAS.AGGR、CUSTOMMETRICS等。PAAS.CONTAINER:应用时间序列命名空间; PAAS.NODE:节点时间序列命名空间; PAAS
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
"error_code" : "AOM.0403", "error_message" : "auth failed.", "error_type" : "AUTH_FAILED", "trace_id" : null } 状态码: 403 Forbidden 请求被拒绝访
"error_code" : "AOM.0403", "error_msg" : "auth failed.", "error_type" : "AUTH_FAILED", "trace_id" : null } 状态码: 403 Forbidden 请求被拒绝访
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
VPC ID。 cmdb_id String CMDB ID。 ecs_id String ECS ID,唯一值。 domain_id String 机器所属domain ID。 状态码: 400 表5 响应Body参数 参数 参数类型 描述 error_code String 错误码
"error_code" : "SVCSTG.AMS.2000051", "error_msg" : "auth failed.", "error_type" : "AUTH_FAILED" } 状态码: 403 Forbidden 请求被拒绝访问。返回该状态码,表明请求能够到达服务端,
namespace 是 String 时间序列命名空间。取值范围:PAAS.CONTAINER、PAAS.NODE、PAAS.SLA、PAAS.AGGR、CUSTOMMETRICS等。PAAS.CONTAINER:应用时间序列命名空间;PAAS.NODE:节点时间序列命名空间;PAAS
type String 静默规则生效时间种类。FIXED:固定方式统计,DAILY:按日合计,WEEKLY:按周统计,MONTHLY:按月统计 最小长度:1 最大长度:100 枚举值: FIXED DAILY WEEKLY MONTHLY 状态码: 401 表7 响应Body参数
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great