AWS Elastic Beanstalk monitoring integration

Access to this feature depends on your subscription level. Requires Infrastructure Pro.

New Relic Infrastructure's integrations include an AWS Elastic Beanstalk integration for reporting your Beanstalk data to New Relic products. 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, please refer to Publishing Amazon CloudWatch Custom Metrics for an Environment.

Activate integration

To enable this integration:

  1. Make sure you have installed the Infrastructure agent before you activate AWS integrations from your Infrastructure account.
  2. Follow the instructions in Connect AWS services to Infrastructure.
  3. Update your Elastic Beanstalk settings:

    • In the AWS Elastic Beanstalk UI, you must select which metrics to watch for each environment. For each specific application environment, go to the Configuration > Health menu and configure the CloudWatch Custom Metrics for health reporting. By default, no metrics are selected. You must select them to generate metrics in the New Relic UI. If no metrics are selected, no data will be reported to New Relic Infrastructure.

    • Elastic Beanstalk generates inventory 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

Find and use data

To find your integration data in Infrastructure, go to infrastructure.newrelic.com > Integrations > Amazon Web Services and select one of the AWS Elastic Beanstalk integration links.

For more on how to use your data, see Understand and use integration data.

Metric data

Metric Description

EnvironmentHealth

[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).

InstancesOk

[Environment] The number of instances with OK health status.

InstancesPending

[Environment] The number of instances with Pending health status.

InstancesInfo

[Environment] The number of instances with Info health status.

InstancesUnknown

[Environment] The number of instances with Unknown health status.

InstancesNoData

[Environment] The number of instances with no health status data.

InstancesWarning

[Environment] The number of instances with Warning health status.

InstancesDegraded

[Environment] The number of instances with Degraded health status.

InstancesSevere

[Environment] The number of instances with Severe health status.

ApplicationRequestsTotal

The number of requests completed by the instance or environment.

ApplicationRequests2xx

The number of requests that completed with a 2XX status code.

ApplicationRequests3xx

The number of requests that completed with a 3XX status code.

ApplicationRequests4xx

The number of requests that completed with a 4XX status code.

ApplicationRequests5xx

The number of requests that completed with a 5XX status code.

ApplicationLatencyP10

The average time to complete the fastest 10 percent of requests.

ApplicationLatencyP50

The average time to complete the fastest 50 percent of requests.

ApplicationLatencyP75

The average time to complete the fastest 75 percent of requests.

ApplicationLatencyP85

The average time to complete the fastest 85 percent of requests.

ApplicationLatencyP90

The average time to complete the fastest 90 percent of requests.

ApplicationLatencyP95

The average time to complete the fastest 95 percent of requests.

ApplicationLatencyP99

The average time to complete the fastest 99 percent of requests.

ApplicationLatencyP99.9

The average time to complete the fastest x percent of requests.

LoadAverage1min

[Instance] The average CPU load over the last minute.

InstanceHealth

[Instance] The health status of the instance.

RootFilesystemUtil

[Instance] The percentage of disk space in use.

CPUIrq

[Instance] The percentage of time the CPU was in this state in the last minute.

CPUUser

[Instance] The percentage of time the CPU was in this state in the last minute.

CPUIdle

[Instance] The percentage of time the CPU was in this state in the last minute.

CPUSystem

[Instance] The percentage of time the CPU was in this state in the last minute.

CPUSoftirq

[Instance] The percentage of time the CPU was in this state in the last minute.

CPUIowait

[Instance] The percentage of time the CPU was in this state in the last minute.

CPUNice

[Instance] The percentage of time the CPU was in this state in the last minute.

Inventory data

Inventory data provides information about the service's state and configuration. For more about inventory data, see Understand and use data.

Name Attributes
Environment
  • applicationName

  • configuration

  • environmentId

  • environmentName

  • endpointUrl

  • solutionStackName

Instance
  • availabilityZone

  • deploymentId

  • deploymentStatus

  • deploymentTime

  • deploymentVersionLabel

  • environmentName

  • instanceId

  • instanceType

For more help

Recommendations for learning more: