20.02.27 - Apigee API Monitoring 版本说明

您正在查看的是 Apigee Edge 文档。
转到 Apigee X 文档
信息

2020 年 2 月 27 日(星期四),我们开始发布适用于公有云的新版 Apigee API Monitoring。

请参阅关于版本编号,了解如何通过比较版本号来弄清楚。

疑问或问题请点击此处获取帮助

版本通知:前往 http://status.apigee.com,然后点击订阅更新

版本说明首页

新功能

此版本新增了以下功能。

网络钩子通知对象的新格式

如果您将网络钩子网址指定为提醒通知的目标,则发送到该网址的对象将具有一个新属性:thresholdViolationsFormattedthresholdViolationsFormatted 属性包含描述提醒的对象。

这个新属性是对现有 thresholdViolations 属性的补充。thresholdViolations 属性包含包含提醒详细信息的单个字符串。通常,应使用 thresholdViolationsFormatted 属性,因为它更易于解码。

例如,在收到提醒时,thresholdViolations 属性包含以下形式的字符串:

"thresholdViolations":{
  "Count0": "Duration=5 minutes Region=us-east1 Status Code=2xx Proxy=test-app Violation=sustained above 1.0"
}

虽然新的 thresholdViolationsFormatted 属性包含以下形式的对象:

"thresholdViolations": [
{
  "metric": "count",
  "duration": "5 minutes",
  "region": "us-east1",
  "statusCode": "2xx",
  "proxy": "test-app",
  "violation": "sustained above 1.0"
}

如需查看该对象的完整说明,请参阅 Webhook 对象格式