消费订阅数据 事件数据格式 [ { "specversion":"1.0", "id":"test8194e630fec1", "source":"ctyun.sitemonitor", "type":"sitemonitor:responsetimeout", "subject":"ctyun.sitemonitor:fdda0184221140dd809802bd4e1f0452:responsetimeout", "datacontenttype":"application/json", "time":"20250116T14:06:52.368536895Z", "data":{ "taskID":"fdda0184221140dd809802bd4e1f0452", "pointID":"1e138ae8b9914c25a139b0ad3ac2f22a", "targetAddr":"203.83.233.26", "targetIP":"", "dnsServer":null, "responseTime":"", "accountID":"", "protocol":"ping", "interval":60, "err":"fdda0184221140dd809802bd4e1f0452 Failed to sent any pkg or receive any valid pkg, sent: 10, receive: 0" }, "reportidc":"guizhou03", "ctyunregion":"guizhou03" }, ... { "specversion":"1.0", "id":"1d7554dfb7c44109be177da11a09dd6a", "source":"ctyun.sitemonitor", "type":"sitemonitor:responsetimeout", "subject":"ctyun.sitemonitor:fdda0184221140dd809802bd4e1f0452:responsetimeout", "datacontenttype":"application/json", "time":"20250116T14:06:52.368536895Z", "data":{ "taskID":"fdda0184221140dd809802bd4e1f0452", "pointID":"1e138ae8b9914c25a139b0ad3ac2f22a", "targetAddr":"203.83.233.26", "targetIP":"", "dnsServer":null, "responseTime":"", "accountID":"", "protocol":"ping", "interval":60, "err":"fdda0184221140dd809802bd4e1f0452 Failed to sent any pkg or receive any valid pkg, sent: 10, receive: 0" }, "reportidc":"guizhou03", "ctyunregion":"guizhou03" } ] 说明 订阅数据类型分为指标类数据、事件类数据、告警类数据。 指标类数据:指标数据是对系统、服务或资源的各种量化特征进行实时或定期监测和收集的数据。这些数据通常以数值形式表示,用于描述系统的运行状态、性能表现和资源使用情况等。 事件类数据:事件数据是记录云资源或服务状态变化的离散信息,通常由系统自动生成,用于描述某一时刻发生的操作或状态变更。 告警类数据:告警数据是基于指标数据或事件数据,当系统检测到某些特定告警规则时产生。告警数据通常包含了告警的类型、等级、发生时间、相关资源信息以及告警的具体描述等。
来自: