Monitor AWS resources based on tags
You can use tags and management zones to organize cloud entities in your environment and simplify searches for them. Tags and management zones are applied to cloud entities just as they are for other entities, but they must be applied via the entity selector.
Not all cloud services have Dynatrace entities created for them, hence they have limited functionality and can't have tags or management zones assigned. In addition, cloud tags are not ingested for them.
The full list of services that support tagging and management zones is available here:
Ingest tags from the Cloud platform
Dynatrace automatically imports tags from service instances in AWS and Azure. However, the transition from the cloud vendor to Dynatrace tagging isn't supported for all cloud services. Expand the table below to see which cloud services can be filtered by tags.
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.
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).
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 cloud services are filtered by tagging.
To monitor resources based on tags
- In the Dynatrace menu, go to Settings > Cloud and virtualization > AWS and select Edit for the desired AWS instance.
- For Resources to be monitored, select Monitor resources selected by tags.
- Enter the Key and Value.
- 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
Add an automatically applied tag
Follow the steps below to automatically apply a tag to queue entities. To learn more about tags, see Define and apply tags.
-
From the Dynatrace menu, go to Settings > Tags > Automatically applied tags.
-
Select Create tag and type a name for the new tag in the Tag name field.
-
Select Add a new rule.
-
optional Specify an Optional tag value. This value will appear next to the tag name after a
:
and is used to provide more precise information about the queue entity. -
From the Rule type list, choose the Entity selector type.
-
Use one of the following code snippets to apply tags from a service, process group, host, or host group entity to a queue entity via the entity selector. Replace
yourKey:yourValue
with your own tag values.type(QUEUE),toRelationships.indirectlySendsToQueue(type(SERVICE),tag("yourKey:yourValue "))
type(QUEUE),toRelationships.listensOnQueue(type(SERVICE),fromRelationships.calls(type(SERVICE),tag("yourKey:yourValue")))
type(QUEUE),toRelationships.isInstanceOf(type(QUEUE_INSTANCE),fromRelationships.runsOn(type(PROCESS_GROUP_INSTANCE),fromRelationships.isInstanceOf(type(PROCESS_GROUP),tag("yourKey:yourValue"))))
type(QUEUE),toRelationships.isInstanceOf(type(QUEUE_INSTANCE),fromRelationships.runsOn(type(PROCESS_GROUP_INSTANCE),fromRelationships.isProcessOf(type(HOST),tag("yourKey:yourValue"))))
type(QUEUE),toRelationships.isInstanceOf(type(QUEUE_INSTANCE),fromRelationships.runsOn(type(PROCESS_GROUP_INSTANCE),fromRelationships.isProcessOf(type(HOST),fromRelationships.isInstanceOf(type(HOST_GROUP),tag(("yourKey:yourValue")))))
-
Select Preview to verify the results returned by the specific entity selector.
-
Select Save changes.
Add queue entities to existing management zones
Follow the steps below to add queue entities to existing management zones. To learn more about management zones, see Set up management zones.
- From Dynatrace menu, go to Settings > Preferences > Management zones.
- Edit an existing management zone and select Add a new rule.
- In the Rule applies to list, choose the Entity selector.
- Use one of the following code snippets to add a queue entity based on tags from a service, process group, host, or host group entity to a management zone via the entity selector. Replace
yourKey:yourValue
with your own tag values.
type(QUEUE),toRelationships.indirectlySendsToQueue(type(SERVICE),tag("yourKey:yourValue "))
type(QUEUE),toRelationships.listensOnQueue(type(SERVICE),fromRelationships.calls(type(SERVICE),tag("yourKey:yourValue")))
type(QUEUE),toRelationships.isInstanceOf(type(QUEUE_INSTANCE),fromRelationships.runsOn(type(PROCESS_GROUP_INSTANCE),fromRelationships.isInstanceOf(type(PROCESS_GROUP),tag("yourKey:yourValue"))))
type(QUEUE),toRelationships.isInstanceOf(type(QUEUE_INSTANCE),fromRelationships.runsOn(type(PROCESS_GROUP_INSTANCE),fromRelationships.isProcessOf(type(HOST),tag("yourKey:yourValue"))))
type(QUEUE),toRelationships.isInstanceOf(type(QUEUE_INSTANCE),fromRelationships.runsOn(type(PROCESS_GROUP_INSTANCE),fromRelationships.isProcessOf(type(HOST),fromRelationships.isInstanceOf(type(HOST_GROUP),tag(("yourKey:yourValue")))))
- Select Preview to verify the results returned by the specific entity selector.
- To save your management zone configuration, select Save changes at the bottom right corner of the page.