API Monitoring の目的は、API のパフォーマンスに関するリアルタイムの分析情報を提供し、問題を迅速に診断して修正して、API が意図したとおりに動作し続けるようにすることです。API Monitoring は、最新の API トラフィック データを表示し、問題が発生するとアラートを送信し、迅速なトラブルシューティングを可能にします。
API Monitoring で実行できるタスクの例を次に示します。
API の可用性を維持する。
ユーザーへの影響が生じる前に、アラートに基づいて適切な措置を講じる。
Apigee の障害コードを活用して問題の迅速な診断を行う。
問題領域をすばやく分離して、エラー、パフォーマンス、レイテンシの問題とその原因を診断する。
Apigee をご利用のお客様は、Cloud Monitoring ツールを API Monitoring の補助ツールとして使用することもできます。他のモニタリング システムと統合する場合は、デフォルトで Cloud Monitoring API を使用して指標を pull することをおすすめします。
Apigee Analytics
Apigee Analytics の目標は、API トラフィックの長期的な傾向を把握して、API がビジネス要件に対応していることを確認することや、必要に応じて変更できるようにすることです。こうした傾向を調査するために、カスタム レポートを作成して、もに特定の API 指標が経時的にどのように変化しているかを判断できます。
Apigee Analytics を使用することで特定できるいくつかの傾向を、以下に示します。
API トラフィックの経時的な傾向
利用率の高いアプリ
利用率の高いデベロッパー
最短 / 最速の API レスポンス時間
最も API トラフィックが多い地理的リージョン
API Monitoring と Analytics で表示されるデータの違い
API Monitoring と Analytics では、API データへのアクセスに使用するパイプラインが異なります。その結果、API Monitoring と Analytics のダッシュボードでは、表示するデータに差異が生じることがあります。一般に、Analytics に表示されるデータは正確ですが、API Monitoring で表示されるデータよりも若干古い(1 時間未満)場合があります。ただし、これらの小さな違いは、API のパフォーマンスの通知を行う API Monitoring の機能には影響しません。
データの保持
Apigee Analytics は API Monitoring よりもデータ保持期間が長いため、長期的な傾向の分析に適しています。Analytics と API Monitoring のデータ保持期間は次のとおりです。
[[["わかりやすい","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-08-18 UTC。"],[[["\u003cp\u003eThis content covers both API Monitoring and Apigee Analytics, explaining their distinct purposes and capabilities within the Apigee and Apigee hybrid platforms.\u003c/p\u003e\n"],["\u003cp\u003eAPI Monitoring focuses on providing real-time insights into API performance to quickly identify and resolve issues, ensuring API availability and enabling swift troubleshooting.\u003c/p\u003e\n"],["\u003cp\u003eApigee Analytics helps understand long-term API traffic trends, supporting business needs and enabling adjustments based on metrics like top apps, developers, and response times.\u003c/p\u003e\n"],["\u003cp\u003eWhile 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.\u003c/p\u003e\n"],["\u003cp\u003eAPI 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.\u003c/p\u003e\n"]]],[],null,["# Compare API Monitoring with Apigee Analytics\n\n*This page\napplies to **Apigee** and **Apigee hybrid**.*\n\n\n*View [Apigee Edge](https://docs.apigee.com/api-platform/get-started/what-apigee-edge) documentation.*\n\n\u003cbr /\u003e\n\nThis section compares API Monitoring with\n[Apigee Analytics](/apigee/docs/api-platform/analytics/analytics-services-overview).\nWhile both API Monitoring and Analytics let\nyou collect and view API data, they have different objectives, as described\nin the following sections:\n\n- [API Monitoring](#api_monitoring)\n- [Apigee Analytics](#apigee_analytics)\n\nAPI Monitoring\n--------------\n\nThe goal of API Monitoring is to provide real-time insights into API\nperformance, and help you quickly diagnose and fix issues to you keep your APIs\nworking as intended. API Monitoring displays the latest API traffic data,\nand sends you alerts when issues arise so you can troubleshoot them quickly.\n\nHere are a few examples of the tasks API Monitoring enables you to perform:\n\n- Maintain the availability of your APIs.\n- Take appropriate actions based on alerts before consumers are affected.\n- Leverage Apigee fault codes to speed diagnosis of issues.\n- Isolate problem areas quickly to diagnose errors, performance, and latency issues, and their sources.\n\nApigee customers can also use\n[Cloud Monitoring](https://cloud.google.com/monitoring/docs)\ntools to support API Monitoring. If you wish to integrate with other monitoring systems, we recommend that you use the Cloud Monitoring API by default to pull metrics.\n\nApigee analytics\n----------------\n\nThe goal of Apigee Analytics is to help you understand the long-term\ntrends of your API traffic, so that you can make sure your APIs are supporting\nyour business requirements, or make changes if necessary. To study these trends,\nyou can create\n[custom reports](/apigee/docs/api-platform/analytics/create-custom-reports)\nto determine how specific\n[API metrics](/apigee/docs/api-platform/analytics/analytics-reference#metrics)\nare changing over time.\n\nHere are a few of the trends that you can identify using Apigee Analytics:\n\n- How is your API traffic is trending over time?\n- What are your top apps?\n- Who are your top developers?\n- When is API response time fastest or slowest?\n- In what geographical regions do you see the most API traffic?\n\nDifferences between data displayed by API Monitoring data and Analytics\n-----------------------------------------------------------------------\n\nAPI Monitoring and Analytics use different pipelines to access API data. As a result,\nyou may see some discrepancies between data displayed by Analytics dashboards\nas opposed to API Monitoring. In general, data displayed by\nAnalytics is more accurate, but may be slightly more delayed (by less than an\nhour),\nthan data displayed by API Monitoring data. However, these minor differences\ndon't affect API Monitoring's ability to keep you informed about your API's performance.\n\n### Data retention\n\nApigee Analytics has longer data retention than API Monitoring, making it more\nsuitable for analysis of long-term trends.\nThe data retention periods for Analytics and API Monitoring are as follows:\n\n- Analytics\n\n - Standard: 60 days\n - Enterprise: 90 days\n - Enterprise +: 14 months\n- API Monitoring: 6 weeks"]]