Limit API calls to AWS using tags

By default, Dynatrace monitors all Amazon Web Services that have been specified in your permission policy. Optionally, you can use tagging to limit the AWS resources (AWS service instances) that are monitored by Dynatrace.

Add tags in AWS

To add a tag

  1. Sign in to your AWS Management Console and go to the dashboard of the service you want to tag.
  2. Select Instances to see a list of your environments, then select an instance.
  3. In the panel below the list, select Tags.
  4. Select Add/Edit tags, then select Create tag.
  5. Enter a tag key/value pair (for example, 'monitor_dynatrace' for Key, and 'true' for Value).
  6. Select Save.

Dynatrace monitoring tags work for built-in: EC2, RDS, ELB, EBS, auto-scaling groups, DynamoDB, Lambda, and most cloud services. Expand the table below to see which services can be filtered by tags.

Name
Tags monitoring & filtering
Amazon EC2 Auto Scaling (built-in)
yes
AWS Lambda (built-in)
yes
Amazon Application and Network Load Balancer (built-in)
yes
Amazon DynamoDB (built-in)
yes
Amazon EBS (built-in)
yes
Amazon EC2 (built-in)
yes

Configure Dynatrace to use AWS tags

Dynatrace enables you to use up to 10 AWS tags at a time. Once configured, Dynatrace takes tagged services into account when querying performance counters.

AWS tag key/value pairs are executed with an OR operator. Keys don't need to be unique.

Tag-based AWS monitoring offers a lot of flexibility and is particularly helpful if:

  • You leverage multiple Dynatrace environments and you want to monitor distinct AWS services running under the same AWS account.
    Tag examples: monitor_dynatrace : myenvironment1; monitor_dynatrace : myenvironment2

  • You need to monitor the same AWS account, but distinguish between production and staging services.
    Tag examples:
    monitor_dynatrace : production; monitor_dynatrace : staging

To assign tags to a specific AWS instance

  1. Set up Dynatrace for AWS monitoring.
  2. In Dynatrace, go to Settings > Cloud and virtualization > AWS and select the AWS instance.
  3. For Resources to be monitored, select Monitor resources selected by tags.
  4. Enter the Key and Value.
  5. Select Save.