Amazon API Gateway | Management, Metrics and Logging Flashcards
Can I use AWS CloudTrail with Amazon API Gateway?
Management, Metrics and Logging
Amazon API Gateway | Networking & Content Delivery
Yes. Amazon API Gateway is integrated with AWS CloudTrail to give you a full auditable history of the changes to your REST APIs. All API calls made to the Amazon API Gateway APIs to create, modify, delete, or deploy REST APIs are logged to CloudTrail in your AWS account.
How can I monitor my Amazon API Gateway APIs?
Management, Metrics and Logging
Amazon API Gateway | Networking & Content Delivery
Amazon API Gateway logs API calls, latency, and error rates to Amazon CloudWatch in your AWS account. The metrics are also available through the Amazon API Gateway console in a REST API dashboard. API Gateway also meters utilization by third-party developers, the data is available in the API Gateway console and through the APIs.
Can I set up alarms on the Amazon API Gateway metrics?
Management, Metrics and Logging
Amazon API Gateway | Networking & Content Delivery
Yes, Amazon API Gateway sends logging information and metrics to Amazon CloudWatch. You can utilize the Amazon CloudWatch console to set up custom alarms.
How can I set up metrics for Amazon API Gateway?
Management, Metrics and Logging
Amazon API Gateway | Networking & Content Delivery
By default, Amazon API Gateway monitors traffic at a REST API level. Optionally, you can enable detailed metrics for each method in your REST API from the deployment configuration APIs or console screen. Detailed metrics are also logged to Amazon CloudWatch and will be charged at the CloudWatch rates.
Can I determine which version of the API my customers are using?
Management, Metrics and Logging
Amazon API Gateway | Networking & Content Delivery
Yes. Metric details are specified by REST API and stage. Additionally, you can enable metrics for each method in your REST API.
Does Amazon API Gateway provide logging support?
Management, Metrics and Logging
Amazon API Gateway | Networking & Content Delivery
Yes. Amazon API Gateway integrates with Amazon CloudWatch Logs. You can optionally enable logging for each stage in your API. For each method in your REST APIs, you can set the verbosity of the logging, and if full request and response data should be logged.