API Monitoring 的目標是提供 API 效能即時洞察資料,協助您快速診斷及修正問題,確保 API 正常運作。API Monitoring 會顯示最新的 API 流量資料,並在發生問題時傳送快訊,方便您快速排解問題。
以下列舉幾個範例,說明 API Monitoring 可讓您執行哪些工作:
維持 API 可用性。
在消費者受到影響前,根據警示採取適當行動。
運用 Apigee 故障代碼,加快問題診斷速度。
快速找出問題區域,診斷錯誤、效能和延遲問題及其來源。
Apigee 客戶也可以使用 Cloud Monitoring 工具支援 API Monitoring。如果您想整合其他監控系統,建議您預設使用 Cloud Monitoring API 來擷取指標。
Apigee 數據分析
Apigee Analytics 的目標是協助您瞭解 API 流量的長期趨勢,確保 API 可滿足您的業務需求,或視需要進行變更。如要研究這些趨勢,您可以建立自訂報表,瞭解特定 API 指標隨著時間的推移而變化情形。
以下是您可以使用 Apigee Analytics 找出的一些趨勢:
長期來看,您的 API 流量有什麼變化?
您最常使用的應用程式
您的主要開發人員是誰?
API 回應時間最快或最慢的時間為何?
您在哪些地理區域看到最多 API 流量?
API 監控資料和 Analytics 顯示的資料差異
API 監控和 Analytics 會使用不同的管道存取 API 資料。因此,Analytics 資訊主頁顯示的資料與 API 監控功能顯示的資料可能會有些差異。一般來說,Analytics 顯示的資料較為準確,但可能比 API 監控資料顯示的資料稍微延遲 (小於 1 小時)。不過,這些小差異不會影響 API Monitoring 向您提供 API 效能資訊的功能。
資料保留
Apigee Analytics 的資料保留期限比 API Monitoring 長,因此更適合用於分析長期趨勢。Analytics 和 API 監控的資料保留期限如下:
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-07-21 (世界標準時間)。"],[[["This content covers both API Monitoring and Apigee Analytics, explaining their distinct purposes and capabilities within the Apigee and Apigee hybrid platforms."],["API Monitoring focuses on providing real-time insights into API performance to quickly identify and resolve issues, ensuring API availability and enabling swift troubleshooting."],["Apigee Analytics helps understand long-term API traffic trends, supporting business needs and enabling adjustments based on metrics like top apps, developers, and response times."],["While both tools collect API data, Apigee Analytics is designed for in-depth, long-term trend analysis with longer data retention periods, whereas API Monitoring prioritizes immediate operational insights."],["API Monitoring data may show minor discrepancies and be more timely compared to Apigee Analytics, but this does not hinder its effectiveness in maintaining awareness of API performance."]]],[]]