您正在查看 Apigee Edge 文档。
前往 Apigee X 文档。 信息
2020 年 2 月 27 日(星期四),我们开始发布新版本的 Apigee API Monitoring(适用于公共云)。
如需了解如何通过比较版本号来确定版本,请参阅关于版本编号。
疑问或问题:请与 Apigee Edge 支持团队联系。
版本通知:请前往 http://status.apigee.com,然后点击订阅最新动态。
新功能
此版本中添加了以下新功能。
网络钩子通知对象的新格式
如果您将网络钩子网址指定为提醒通知的目的地,则发送到该网址的对象将包含一个新属性:thresholdViolationsFormatted。thresholdViolationsFormatted 属性包含一个描述提醒的对象。
此新媒体资源是现有 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" }
如需全面了解该对象,请参阅网络钩子对象格式。