Skip to content

AWS Integration - API Gateway

Mackerel supports obtaining and monitoring Amazon API Gateway metrics in AWS Integration. When integrating with AWS Integration, billable targets are determined using the conversion 1 API = 1 Micro Host.

Please refer to the following page for AWS Integration configuration methods and a list of supported AWS services.
AWS Integration

Obtaining metrics

The metrics obtainable with AWS Integration's API Gateway support are as follows. For Metric explanations, refer to the AWS help pages.

REST

The maximum number of metrics obtainable is 11.

Graph nameMetricMetric name in MackerelUnitStatistics
RequestsCountapigateway.requests.countintegerSum
Errors4XXError
5XXError
apigateway.errors.4xx_error
apigateway.errors.5xx_error
integerSum
CacheCacheHitCount
CacheMissCount
apigateway.cache.cache_hit_count
apigateway.cache.cache_miss_count
integerSum
LatencyLatency
IntegrationLatency
apigateway.latency.#.minimum
apigateway.latency.#.average
apigateway.latency.#.maximum
floatMinimum
Average
Maximum
  • Either "Latency" or "IntegrationLatency" goes in for the # of "Metric name in Mackerel".

WebSocket

The maximum number of metrics obtainable is 8.

Graph nameMetricMetric name in MackerelUnitStatistics
WebSocket ConnectConnectCountapigateway.websocket_connect.countintegerSum
WebSocket MessageMessageCountapigateway.websocket_message.countintegerSum
WebSocket ErrorsIntegrationError
ClientError
ExecutionError
apigateway.websocket_errors.integration
apigateway.websocket_errors.client
apigateway.websocket_errors.execution
integerSum
WebSocket LatencyIntegrationLatencyapigateway.websocket_latency.minimum
apigateway.websocket_latency.average
apigateway.websocket_latency.maximum
floatMinimum
Average
Maximum

HTTP

The maximum number of metrics obtainable is 10.

Graph nameMetricMetric name in MackerelUnitStatistics
RequestsCountapigateway.requests.countintegerSum
Data ProcessedDataProcessedapigateway.data_processedbytesSum
Errors4xx
5xx
apigateway.http_errors.4xx_error
apigateway.http_errors.5xx_error
integerSum
LatencyLatency
IntegrationLatency
apigateway.latency.#.minimum
apigateway.latency.#.average
apigateway.latency.#.maximum
floatMinimum
Average
Maximum
  • Either "Latency" or "IntegrationLatency" goes in for the # of "Metric name in Mackerel".

Notes

If the REST API contains any non-ASCII characters in the API name, the non-ASCII characters will be replaced with a "-" (hyphen) in CloudWatch.
If the replaced name matches that of another REST API, retrieved metrics will get mixed up.

This is a specification of AWS.