20.02.27 - Apigee API Monitoring 版本说明

您正在查看 Apigee Edge 文档。
转到 Apigee X 文档
info

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

如需了解如何通过比较版本号来确定版本,请参阅关于版本编号

疑问或问题:请与 Apigee Edge 支持团队 联系。

版本通知:请转到http://status.apigee.com ,然后点击订阅最新动态

版本说明首页

新功能

此版本中添加了以下新功能。

Webhook 通知对象的新格式

如果您将网络钩子网址指定为提醒通知的目的地,则发送到该网址的对象将包含一个新属性: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 对象格式 for