중요
Enable the AWS CloudWatch Metric Streams integration to monitor all CloudWatch metrics from your AWS services, including custom namespaces. Individual integrations are no longer our recommended option.
New Relic infrastructure integrations include an AWS Elastic Beanstalk integration for reporting your Beanstalk data to New Relic. This document explains the integration's features, how to activate it, and what data can be reported.
AWS Elastic Beanstalk is a dynamic service that allows easy deployment and scalability for your applications. The "application" in AWS Beanstalk is the environment. An "application" can have several environments associated with it.
Requirements
AWS Elastic Beanstalk will send some basic metrics to Amazon CloudWatch by default. Additionally, you can enable enhanced health reporting as custom metrics; enabling these metrics may add additional charges to your Amazon CloudWatch account pricing. To enable enhanced CloudWatch metrics, see Publishing Amazon CloudWatch custom metrics for an environment.
Activate integration
By default, no metrics are selected in the Elastic Beanstalk settings. You must select them for each environment to generate metrics in the New Relic UI. If no metrics are selected, no data will be reported to New Relic.
To enable this integration:
- Follow the instructions in Connect AWS services to New Relic.
- Update your Elastic Beanstalk settings to select which metrics (default is no metrics) to watch for each environment: In the AWS Elastic Beanstalk UI, go to Configuration > Health, then configure the CloudWatch custom metrics for health reporting.
After you select the metrics you want to be reported for each environment, Elastic Beanstalk will generate data from the moment both instance
and environment
data objects are created.
Configuration and polling
You can change the polling frequency and filter data using configuration options.
Default polling information for the AWS Elastic Beanstalk integration:
- New Relic polling interval: 5 minutes
- Amazon CloudWatch data interval: 1 minute
View and use data
To view and use your integration data, go to one.newrelic.com > All capabilities > Infrastructure > AWS and select one of the AWS Elastic Beanstalk integration links.
Metric data
Metric | Description |
---|---|
| [Environment] The health status of the environment. The possible values are 0 (OK), 1 (Info), 5 (Unknown), 10 (No data), 15 (Warning), 20 (Degraded) and 25 (Severe). |
| [Environment] The number of instances with OK health status. |
| [Environment] The number of instances with Pending health status. |
| [Environment] The number of instances with Info health status. |
| [Environment] The number of instances with Unknown health status. |
| [Environment] The number of instances with no health status data. |
| [Environment] The number of instances with Warning health status. |
| [Environment] The number of instances with Degraded health status. |
| [Environment] The number of instances with Severe health status. |
| The number of requests completed by the instance or environment. |
| The number of requests that completed with a 2XX status code. |
| The number of requests that completed with a 3XX status code. |
| The number of requests that completed with a 4XX status code. |
| The number of requests that completed with a 5XX status code. |
| The average time to complete the fastest 10 percent of requests. |
| The average time to complete the fastest 50 percent of requests. |
| The average time to complete the fastest 75 percent of requests. |
| The average time to complete the fastest 85 percent of requests. |
| The average time to complete the fastest 90 percent of requests. |
| The average time to complete the fastest 95 percent of requests. |
| The average time to complete the fastest 99 percent of requests. |
| The average time to complete the fastest x percent of requests. |
| [Instance] The average CPU load over the last minute. |
| [Instance] The health status of the instance. |
| [Instance] The percentage of disk space in use. |
| [Instance] The percentage of time the CPU was in this state in the last minute. |
| [Instance] The percentage of time the CPU was in this state in the last minute. |
| [Instance] The percentage of time the CPU was in this state in the last minute. |
| [Instance] The percentage of time the CPU was in this state in the last minute. |
| [Instance] The percentage of time the CPU was in this state in the last minute. |
| [Instance] The percentage of time the CPU was in this state in the last minute. |
| [Instance] The percentage of time the CPU was in this state in the last minute. |