检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
+等于+紧急。 资源类型:创建告警规则或自定义上报告警时选定的资源类型。可以设置为:host、container、process等类型。例如设置为:资源类型+等于+container。 告警源:触发告警或事件的服务名称。可以设置为AOM 、LTS、CCE等服务名称。例如设置为:告警源+等于+AOM。
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
namespace 是 String 时间序列命名空间。取值范围:PAAS.CONTAINER、PAAS.NODE、PAAS.SLA、PAAS.AGGR、CUSTOMMETRICS等。- - - PAAS.CONTAINER:应用时间序列命名空间; PAAS.NODE:节点时间序列命名空间;
type String 静默规则生效时间种类。FIXED:固定方式统计,DAILY:按日合计,WEEKLY:按周统计,MONTHLY:按月统计 最小长度:1 最大长度:100 枚举值: FIXED DAILY WEEKLY MONTHLY 状态码: 401 表7 响应Body参数
是否必选 参数类型 说明 content 是 string 消息模板内容。 subType 是 string 消息模板发送类型,支持:email,sms,webhook。 topic 否 string 邮件主题。 sendType 否 string 当消息模板发送类型为“webh
请求Body参数 参数 是否必选 参数类型 描述 [数组元素] 是 Array of MetricDataItem objects 待添加的监控数据项。 表4 MetricDataItem 参数 是否必选 参数类型 描述 collect_time 是 Long 数据收集时间,仅支持过
type 是 String 静默规则生效时间种类。FIXED:固定方式统计,DAILY:按日合计,WEEKLY:按周统计,MONTHLY:按月统计 最小长度:1 最大长度:100 枚举值: FIXED DAILY WEEKLY MONTHLY 响应参数 状态码: 400 表6 响应Body参数
type 是 String 静默规则生效时间种类。FIXED:固定方式统计,DAILY:按日合计,WEEKLY:按周统计,MONTHLY:按月统计 最小长度:1 最大长度:100 枚举值: FIXED DAILY WEEKLY MONTHLY 响应参数 状态码: 400 表6 响应Body参数
checkType为cmdLine时checkMode填contain,checkContent格式为["xxx"]表示进程命令行参数中需要包含xxx。checkType为env时checkMode填contain,checkContent格式为 ["k1","v1"]表示进程
namespace 是 String 时间序列命名空间。取值范围: PAAS.CONTAINER、PAAS.NODE、PAAS.SLA、PAAS.AGGR、CUSTOMMETRICS等。- - - PAAS.CONTAINER:应用时间序列命名空间; PAAS.NODE:节点时间序列命名空间;
"error_code" : "SVCSTG.AMS.2000051", "error_msg" : "auth failed.", "error_type" : "AUTH_FAILED" } 状态码: 403 Forbidden 请求被拒绝访问。返回该状态码,表明请求能够到达服务端,
同时在AOM界面还可查看相关的日志和告警。 云容器实例服务 云容器实例服务(Cloud Container Instance,简称CCI)提供 Serverless Container(无服务器容器)引擎,让您无需创建和管理服务器集群即可直接运行容器。 通过AOM界面您可监控C
"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
请检查对应的参数是否符合要求。 SVCSTG.PE.4031012 Failed to verify the project ID. 请检查对应的参数是否符合要求。 SVCSTG.PE.4033008 Failed to update the scheduled or periodic
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_msg" : "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