20.02.27 - Apigee API Monitoring 版本資訊

您目前查看的是 Apigee Edge 說明文件。
前往 Apigee X 說明文件
info

我們已於 2020 年 2 月 27 日 (星期四) 開始發布新版 Apigee API Monitoring for Public Cloud。

請參閱「關於版本編號」,瞭解如何比較版本編號。

有任何問題嗎?請與 Apigee Edge 支援團隊聯絡。

版本發布通知:前往 http://status.apigee.com ,然後按一下「訂閱最新消息」

版本資訊首頁

新功能

這個版本新增了下列功能。

Webhook 通知物件的新格式

如果您將 Webhook 網址指定為快訊通知的傳送目的地,傳送至該網址的物件會新增 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"
}

如需物件的完整說明,請參閱「Webhook 物件格式」。