AWS Elastic Beanstalk monitoring

Dynatrace ingests metrics for multiple preselected namespaces, including AWS Elastic Beanstalk. You can view metrics for each service instance, split metrics into multiple dimensions, and create custom charts that you can pin to your dashboards.

Prerequisites

To enable monitoring for this service, you need

  • An Environment or Cluster ActiveGate version 1.197+
    Note: For role-based access (whether in a SaaS or Managed deployment), you need an Environment ActiveGate installed on an AWS EC2 host.
  • Dynatrace version 1.201+
  • An updated AWS monitoring policy to include the additional AWS services.

To update the AWS IAM policy, use the JSON below, containing the monitoring policy (permissions) for all supporting services.

If you don't want to add permissions to all services, and just select permissions for certain services, consult the table below. The table contains a set of permissions that are required for all services (All monitored Amazon services) and, for each supporting service, a list of optional permissions specific to that service.

Example of JSON policy for one single service.

In this example, from the complete list of permissions you need to select

  • "apigateway:GET" for Amazon API Gateway
  • "cloudwatch:GetMetricData", "cloudwatch:GetMetricStatistics", "cloudwatch:ListMetrics", "sts:GetCallerIdentity", "tag:GetResources", "tag:GetTagKeys", and "ec2:DescribeAvailabilityZones" for All monitored Amazon services.

Install OneAgent optional

To install and customize OneAgent, see Deploy OneAgent on AWS Elastic Beanstalk.

Enable monitoring

To enable monitoring for this service, you first need to integrate Dynatrace with Amazon Web Services:

Add the service to monitoring

In order to view the service metrics, you must add the service to monitoring in your Dynatrace environment.

Cloud-service monitoring consumption

As of 2021, all cloud services consume Davis data units (DDUs). The amount of DDU consumption per service instance depends on the number of monitored metrics and their dimensions (each metric dimension results in the ingestion of 1 data point; 1 data point consumes 0.001 DDUs). For DDU consumption estimates per service instance (recommended metrics only, predefined dimensions, and assumed dimension values), see DDU consumption estimates per cloud service instance.

Monitor resources based on tags

You can choose to monitor resources based on existing AWS tags, as Dynatrace automatically imports them from service instances. Nevertheless, the transition from AWS to Dynatrace tagging isn't supported for all AWS services. Expand the table below to see which supporting services are filtered by tagging.

To monitor resources based on tags

  1. In the Dynatrace menu, go to Settings > Cloud and virtualization > AWS and select the AWS instance.
  2. For Resource monitoring method, select Monitor resources based on tags.
  3. Enter the Key and Value.
  4. Select Save.

Configure service metrics

Once you add a service, Dynatrace starts automatically collecting a suite of metrics for this particular service. These are recommended metrics.

Recommended metrics:

  • Are enabled by default
  • Can't be disabled
  • Can have recommended dimensions (enabled by default, can't be disabled)
  • Can have optional dimensions (disabled by default, can be enabled)

Apart from the recommended metrics, most services have the possibility of enabling optional metrics.

Optional metrics:

  • Can be added and configured manually

View service metrics

You can view the service metrics in your Dynatrace environment either on the custom device overview page or on your Dashboards page.

View metrics on the custom device overview page

To access the custom device overview page

  1. In the Dynatrace menu, go to Technologies.
  2. Filter by service name and select the relevant custom device group.
  3. Once you select the custom device group, you're on the custom device group overview page.
  4. The custom device group overview page lists all instances (custom devices) belonging to the group. Select an instance to view the custom device overview page.

View metrics on your dashboard

After you add the service to monitoring, a preset dashboard containing all recommended metrics is automatically listed on your Dashboards page. To look for specific dashboards, filter by Preset and then by Name.
aws-presets
Note: For existing monitored services, you might need to resave your credentials for the preset dashboard to appear on the Dashboards page. To resave your credentials, go to Settings > Cloud and virtualization > AWS, select the desired AWS instance, and then select Save.

You can't make changes on a preset dashboard directly, but you can clone and edit it. To clone a dashboard, open the browse menu () and select Clone.
To remove a dashboard from the dashboards page, you can hide it. To hide a dashboard, open the browse menu () and select Hide.
Note: Hiding a dashboard doesn't affect other users. clone-hide-aws

To check the availability of preset dashboards for each AWS service, see the list below.

elastic-beanstalk

Available metrics

Name Description Unit Statistics Dimensions Recommended
ApplicationLatencyP10 The average amount of time, in seconds, it takes to complete the fastest 10% of requests (instance and environment) Seconds Multi EnvironmentName, InstanceId
ApplicationLatencyP10 Seconds Multi EnvironmentName
ApplicationLatencyP50 The average amount of time, in seconds, it takes to complete the fastest 50% of requests (instance and environment) Seconds Multi EnvironmentName, InstanceId
ApplicationLatencyP50 Seconds Multi EnvironmentName
ApplicationLatencyP75 The average amount of time, in seconds, it takes to complete the fastest 75% of requests (instance and environment) Seconds Multi EnvironmentName, InstanceId
ApplicationLatencyP75 Seconds Multi EnvironmentName
ApplicationLatencyP85 The average amount of time, in seconds, it takes to complete the fastest 85% of requests (instance and environment) Seconds Multi EnvironmentName, InstanceId
ApplicationLatencyP85 Seconds Multi EnvironmentName
ApplicationLatencyP90 The average amount of time, in seconds, it takes to complete the fastest 90% of requests (instance and environment) Seconds Multi EnvironmentName, InstanceId
ApplicationLatencyP90 Seconds Multi EnvironmentName ✔️
ApplicationLatencyP95 The average amount of time, in seconds, it takes to complete the fastest 95% of requests (instance and environment) Seconds Multi EnvironmentName, InstanceId
ApplicationLatencyP95 Seconds Multi EnvironmentName
ApplicationLatencyP99 The average amount of time, in seconds, it takes to complete the fastest 99% of requests (instance and environment) Seconds Multi EnvironmentName, InstanceId
ApplicationLatencyP99 Seconds Multi EnvironmentName
ApplicationLatencyP99.9 The average amount of time, in seconds, it takes to complete the fastest 99.9% of requests (instance and environment) Seconds Multi EnvironmentName, InstanceId
ApplicationLatencyP99.9 Seconds Multi EnvironmentName
ApplicationRequestsTotal The total number of requests completed by the instance or environment Count Sum EnvironmentName, InstanceId
ApplicationRequestsTotal Count Sum EnvironmentName ✔️
ApplicationRequests2xx The number of requests that completed with a 2XX status code (instance and environment) Count Sum EnvironmentName, InstanceId
ApplicationRequests2xx Count Sum EnvironmentName
ApplicationRequests3xx The number of requests that completed with a 3XX status code (instance and environment) Count Sum EnvironmentName, InstanceId
ApplicationRequests3xx Count Sum EnvironmentName
ApplicationRequests4xx The number of requests that completed with a 4XX status code (instance and environment) Count Sum EnvironmentName, InstanceId
ApplicationRequests4xx Count Sum EnvironmentName ✔️
ApplicationRequests5xx The number of requests that completed with a 5XX status code (instance and environment) Count Sum EnvironmentName, InstanceId
ApplicationRequests5xx Count Sum EnvironmentName ✔️
CPUIdle The percentage of time the CPU was in idle state in the last minute (instance only) Percent Multi EnvironmentName, InstanceId
CPUIowait The percentage of time the CPU was in iowait state in the last minute (instance only) Percent Multi EnvironmentName, InstanceId
CPUIrq The percentage of time the CPU was in irq state in the last minute (instance only) Percent Multi EnvironmentName, InstanceId
CPUNice The percentage of time the CPU was in nice state in the last minute (instance only) Percent Multi EnvironmentName, InstanceId
CPUPrivileged The percentage of time the CPU was in privileged state in the last minute (instance only) Percent Multi EnvironmentName, InstanceId
CPUSoftirq The percentage of time the CPU was in softirq state in the last minute (instance only) Percent Multi EnvironmentName, InstanceId
CPUSystem The percentage of time the CPU was in system state in the last minute (instance only) Percent Multi EnvironmentName, InstanceId
CPUUser The percentage of time the CPU was in user state in the last minute (instance only) Percent Multi EnvironmentName, InstanceId
EnvironmentHealth The current health status of the environment, with seven possible values: 0 - OK, 1 - Info, 5 - Unknown, 10 - No data, 15 - Warning, 20 - Degraded, and 25 - Severe None Multi EnvironmentName ✔️
InstanceHealth The current health status of the instance, with seven possible values: 0 - OK, 1 - Info, 5 - Unknown, 10 - No data, 15 - Warning, 20 - Degraded, and 25 - Severe None Multi EnvironmentName, InstanceId ✔️
InstancesDegraded The number of instances in the environment with degraded health status (environment only) Count Multi EnvironmentName
InstancesInfo The number of instances in the environment with info health status (environment only) Count Multi EnvironmentName
InstancesNoData The number of instances for which no data is being received (environment only) Count Multi EnvironmentName
InstancesOk The number of instances in the environment with OK health status (environment only) Count Multi EnvironmentName
InstancesPending The number of instances in the environment with pending health status (environment only) Count Multi EnvironmentName
InstancesSevere The number of instances in the environment with severe health status (environment only) Count Multi EnvironmentName
InstancesUnknown The number of instances in the environment with unknown health status (environment only) Count Multi EnvironmentName
InstancesWarning The number of instances in the environment with warning health status (environment only) Count Multi EnvironmentName
LoadAverage1min The average CPU load of the instance over the last minute (instance only) Percent Multi EnvironmentName, InstanceId
LoadAverage5min The average CPU load of the instance over the last five minutes (instance only) Percent Multi EnvironmentName, InstanceId
RootFilesystemUtil The percentage of disk space that's in use (instance only) Percent Multi EnvironmentName, InstanceId
RootFilesystemUtil Percent Multi EnvironmentName