On this page:
Server tagging makes it easy to query, filter, and compare related servers using custom metadata. You can tag related servers based on OS, location, tier, owner, or any other relevant criteria. Server tags provide additional context to server metrics. For example, you might want to specify deployment-version tags to the servers in a specific cluster; then you can use these tags to identify anomalies in server metrics during a new deployment.
Service Tagging requires a Server Visibility license. Server Tagging is currently available for Linux, Windows, and Solaris.
Server Visibility can import the following tags automatically.
Server Visibility can import the following tags from the Machine Agent. These tags appear in the Server Dashboard under Tags.
|These tags require 4.4 or higher of the Controller and 4.2 or higher of the Standalone Machine Agent.|
|Amazon Web Services|
These tags appear in the Server Dashboard under Tags as
|These tags require 4.4 or higher of the Controller and the Standalone Machine Agent.|
Server Visibility can import user-defined tags and system container-level tags. These appear under Container Details > Tags as
The exact set of tags imported can vary depending on the system on which the container is running.
|These tags require 4.3.3 or higher of the Controller and the Standalone Machine Agent.|
|Server Visibility can import ReplicaSet and pod tags. These appear under Container Details > Tags as ||These tags require 4.4.3 or higher of the Controller and the Standalone Machine Agent.|
Viewing Servers by Tag in the Controller UI
View filter servers by tag in the Servers list, click the Filters button and add the criteria you want for the tag filer. If you specify multiple criteria, the filter performs an AND search (for criteria with different keys) and an OR search (for criteria with the same key). In the following example, the tag criteria filters all servers with
- A Tier tag that equals ECommWeb OR ECommInventory, AND
- An OS Architecture tag that equals x86_64.
Defining and Viewing Tags for a Server
You can specify custom tags as a set of key/value strings in the agent config directory. Each agent can support up to 50 tags by default.
Note the following good practices for defining server tags:
Configure the following option in
Importing Tags from Docker
Server Visibility can import some tags from Docker. See Kubernetes and AppDynamics APM.
TBD – DOCS-2010
Importing Tags from Kubernetes
Server Visibility can import some tags from Kubernetes. See Kubernetes and AppDynamics APM.
Importing Tags from Amazon Web Services
Detailed information about Amazon Web Services is outside the scope of AppDynamics documentation. The following links are provided as a convenience and might not work if Amazon reorganizes its website or documentation.
- Log in to the AWS console: https://console.aws.amazon.com/iam/
- Create a role that has read access to EC2 tags.
- Add this role to your EC2 instance.
For information about these two steps, search for "To create an IAM role using the IAM console" and "Attaching an IAM Role to an Instance" in the following page:
- Run the Standalone Machine Agent with Amazon Web Services enabled.
Configuration Options for Server Tagging
To edit these settings, log in to the Controller administration console using the root user password. SeeAccess the Administration Console.