Datadog Database Monitoring Fundamentals free question 10 / 10 · Domain 5: Database Troubleshooting and Optimization
Several Postgres databases show up as a single entry in the Databases list after a tagging change. What is the likely cause?
- A custom host tag replaces the host name so that all metrics share one host value
- A custom service tag changes the service so that all metrics share one service value
- A custom db tag overrides the per-database value so all metrics share one db value
- A custom env tag changes the environment so that all metrics share one env value
Show the answer and explanation
Answer: C
Why this is correct
Datadog tags database metrics with the db tag so that each metric belongs to a database. Applying a custom db tag overrides this per-database value, so all metrics share a single db value, the databases collapse into one entry, and individual databases may not appear in the Databases list.
Why the other options are wrong
"A custom host tag replaces the host name so that all metrics share one host value" … The page names the db tag as the cause for merged databases.
"A custom env tag changes the environment so that all metrics share one env value" … The page names the db tag as the cause.
"A custom service tag changes the service so that all metrics share one service value" … The page names the db tag as the cause.
Key points
The fix is to remove any custom db tags so that Datadog can populate the tag per database. Check the tags in the Agent and integration configuration whenever the list of databases looks smaller than expected. The documentation puts it this way: "Datadog tags database metrics with the db tag to identify which database each metric belongs to. Applying a custom db tag overrides this per-database value, so all metrics share a single db value."