Apigee hybrid analytics collects and calculates a wealth of information that flows through API proxies. You can visualize this data with graphs and charts in the hybrid UI, or you can download the raw data for offline analysis using the hybrid APIs.
Analytics help you answer common questions, such as:
- How is my API traffic trending over time?
- Which API methods are most popular?
- Who are my top developers?
- When is API response time fastest? Slowest?
- Geographically, where do I see the most API traffic?
The answers to questions like these help you improve your APIs, troubleshoot problems, and make better business decisions related to your API program.
What kind of data is collected and analyzed?
hybrid analytics collects and analyzes a broad spectrum of data that flows across API proxies such as:
- Response time
- Request latency
- Request size
- Target errors
- API product name
- Developer email address
- App name
- Many others
For a complete listing of data collected by analytics, see Analytics metrics, dimensions, and filters reference.
When and for how long is my analytics data available
There are two time intervals that control when and for how long you can view your analytics data:
- Data delay interval - After a call is made to an API proxy, it can take up to 30 minutes for the data to be accessible for display or through API calls.
- Data retention - The length of time that analytics data is retained by Edge differs by plan. Depending on your plan, analytics data may be available for the past 30 days, 3 months, or 14 months.
How do I access my analytics data?
Hybrid analytics provides data visualization tools built into the hybrid UI. These tools include predefined analytics dashboards and custom reports that display data in graphs and charts and let you drill down to see data grouped into different dimensions (such as by API proxy, IP address, or HTTP status code).
In addition, you can download analytics data by using the hybrid API. Once downloaded, you can import that data into your own data visualization tools or analytics system.
The hybrid UI provides a set of predefined dashboards that you can use to view analytics data. For example, the following images shows the Proxy Performance dashboard:
Additional predefined dashboards include:
- Cache performance
- Developer engagement
- Device usage
- Error code analysis
- Latency analysis
- Target performance
- Traffic composition
Custom reports let you drill-down into specific API metrics and view the exact data that you want to see. You can create a custom report by using any of the analytics data built into hybrid or custom analytics data collected by the StatisticsCollector policy.
When building a custom report, you select the data you want to see (metrics), group the data in meaningful ways (dimensions), and optionally limit the data returned based on specific characteristics of the data (filtering).
For more, see Create and manage custom reports.