API Operational Metrics
API Gateway provides API operational (Prometheus) metrics to report metric statistics for API calls, error, and error rates.
The following table describes the Prometheus metrics including, the description of the metric, metric type, and the Prometheus label for the metric.
Prometheus metric name | Description | Metric type | Prometheus label |
---|---|---|---|
sag_apigw_apicalls_total |
The total number of API invocations per
HTTP response code.
Note:
Sample apicall metrics is as follows:
|
Counter |
|
Prometheus labels
Prometheus label | Description |
---|---|
code
|
The code label shows the HTTP response
code for the API calls counted. For each HTTP response code that occurred
during the lifetime of the
API Gateway
server, the metrics response will contain a separate counter entry.
Sample apicall metrics with HTTP response code is as follows:
In the example shown, 32 API calls are returned with the HTTP response code 200. |
env
|
The name of the customer environment.
The value of the
|