API Control Plane can show aggregated information about API calls in a selected time interval. These metrics include sums and averages, as well as graphs, that show the number of requests over time.
Metrics can be viewed for APIs, as well as for applications. For the latter, the metrics cover all requests made by the application, accross all APIs. (We say an application made a request, when the request contains authentication information specific to that application, e.g. its api-key.)
...
Metrics are always shown for a single environment. If the API or application is deployed in multiple environments, you can select the environment, for which you want to see metrics, at the top of the metrics page. There you can also choose the covered time interval. Currently, metrics are displayed for intervals of one or more full days, with 7 days being the maximum. The graphs always use an hourly resolution. However, more options will be added in the future.
How metrics are obtained
There are two ways in which API Control plane can obtain metrics. The preferred way is to retrieve information about each API request from the gateway and store it in a database. We refer to this information as raw metrics, opposed to metrics that have already been aggregated by the gateway. This approach allows for very fast metrics queries and will be used to offer a much more powerful and flexible metrics page in the future. Depending on the platform, additional configuration of the gateway as well as the API Control Plane agent may be necessary to enable raw metrics. It should also be noted, that this approach will only import metrics from the moment that the API Control Plane agent is connected to the gateway. No past metrics will be imported.
...
AWS: How to enable raw metrics in AWS.
When using aggregated metrics from the gateway, AWS only supports API metrics, not application metrics.Azure: Azure will always use raw metrics. No additional configuration is required.
Apigee: TODO
Kong: How to enable raw metrics in Kong.
Kong does not supported aggregated metrics from the gateway. If raw metrics are not configured for Kong, API Control Plane will not be able to display any metrics.WSO2: How to enable raw metrics in WSO2.
WSO2 does not provide aggregated metrics by itself. However, it can be configured to push metrics to a cloud platform named Choreo, which the API Control Plane Agent can connect to, to obtain API metrics, but not application metrics. Read here on how to configure this.Gravitee: How to enable raw metrics in Gravitee.
Even without raw metrics, Gravitee supports aggregated API and application metrics.Layer7: Raw metrics for Layer7 are currently not supported.
However, aggregated gateway metrics for APIs and applications are supported.Layer7 with Solution Kit: As long as you are using the latest version of AAGM and our solution kit, raw metrics are enabled by default. No additional configuration is required.
...