Part 4: Monitor your API's performance
Apigee Edge collects information as data passes through it. The data includes API call information (URL, IP, and user ID) latency, errors, and so on. This data is gathered into trend charts and tables throughout the management UI. You can use this data to both monitor the overall health of your API program and the health of individual APIs.
See Analytics Services overview for more information.
This tutorial assumes that you have competed the first tutorial, where you create an API proxy to access the Yahoo weather API. If you have not yet completed that tutorial, see Part 1: Create your API.
While it is not required, Apigee recommends that you also complete the policies tutorial. See Part 2: Add policies to your API.
Use the data charts to see metrics about your APIs:
- Select Analytics > Proxy Performance in the main menu. If the API Platform page is not open, click here.
- If not already selected, select test in the Environment drop-down list at the top of the page. Multiple charts appear with data about all of your API proxies in the test environment:
You can select different time periods, different API proxies, and you can move your mouse pointer over the chart to see details about specific data points.
- Now look at metrics for only your weather API. In the main menu of the management UI, click APIs to display the API Proxies page.
- Click weather in the API Proxies table. This is the API proxy that you created in the tutorial Part 1: Create your API.
- On the upper-right side of the weather detail page, click the Performance tab.
- The chart displaying metrics for the API appears. There may be a few minutes of lag time between when you send requests and when the metrics are available in the charts.
You can show or hide metrics for APIs by clicking the Metrics drop down in the upper-left. You probably won't have much data yet. But select a Time Period of one hour to see information about the weather API.
- For a comprehensive, multi-dimensional view of your entire API program, click Dashboard in the management UI menu. The dashboard provides views of traffic, partner and developer engagement, and top performing APIs, products, apps, and developers. You can view different date ranges and drill down into API traffic details.
Analytics charts can also be exported to various file formats.
Now that you have created your first API, and learned more about policies and APigee tools, it is time to secure your API. It's important to protect your API from unauthorized access. One way to do that is to validate API keys (also called "public keys", "consumer keys" or "app keys").Continue on to Part 1: Create a secure API to learn about using API keys.
Help or comments?