Tags Flashcards
What does Datadog use to observe aggregate data points?
Tags
What are the reserved tags in Datadog?
host: Correlation between metrics, traces, processes, and logs.
device: Segregation of metrics, traces, processes, and logs by device or disk.
source: Span filtering and automated pipeline creation for Log Management.
service: Scoping of application specific data across metrics, traces, and logs.
env: Scoping of application specific data across metrics, traces, and logs.
version: Scoping of application specific data across metrics, traces, and logs.
What level does Datadog recommend looking at containers, VMs, and cloud infrastructure (what tag is used)?
service
Are tags required to start with a letter?
Yes, tags must start with a letter
A tag must start with a letter but after that may contain what type of characters (there are 6)?
- Alphanumerics
- Underscores
- Minuses
- Colons
- Periods
- Slashes
What is the max number of characters for a tag?
200 characters
Are tags converted to lowercase?
Yes, tags are converted to lowercase
What will infinitely increase the number of metrics for your organization and impact your billing when tagging?
Originating tags from unbounded sources, such as epoch timestamps, user IDs, or request IDs
What are the 4 methods for assigning tags?
Configuration Files: Manually in your main Agent or integration configuration files.
UI: In the Datadog site.
API: When using Datadog’s API.
DogStatsD: When submitting metrics with DogStatsD.
What tag does the agent automatically assign in a non-containerized environment?
The host tag
What allows the Datadog Agent automatically identifies which services are running on this new container, looks for corresponding monitoring configuration, and starts to collect metrics?
Autodiscovery
What happens to tagging in a containerized environment when Autodiscovery is not in use?
The Agent automatically assigns the host tag and inherits tags from integrations the same as within a non-containerized environments.
How long does the hostname remain in the Datadog UI if you modify it with tags set on the agent configuration?
2 hours
How do you graph metrics using an old and new hostname?
Use arithmetic between two metrics
What is the most efficient method for assigning tags?
Rely on integration inheritance. eg. Tags you assign to your AWS instances, Chef recipes, and other integrations are automatically inherited by hosts and metrics you send to Datadog.