Datadog-APM-and-Distributed-Tracing-Fundamentals practice question 21 of 25
How do you create span-based metrics?
Full set: 180 questionsSpan-based metrics are created directly within the Datadog web UI. The process involves using the Trace Explorer to build a query that filters for specific spans of interest. From this query, you can generate a new metric, specifying what to aggregate (e.g., count of spans, duration) and which span tags to use as dimensions for the new metric.
B. Writing custom instrumentation is for creating new spans or adding tags, not for generating metrics from existing spans within the Datadog platform.
C. The Datadog Agent collects and forwards traces, but the logic and configuration for generating metrics from those spans reside in the Datadog backend, configured via the UI.
1. Datadog Documentation, "Generate Metrics from Spans". This document provides a step-by-step guide, stating: "To create a span-based metric, navigate to APM > Generate Metrics and click New Metric+. Alternatively, find a query in the Trace Explorer that you would like to monitor, and select Export > Generate new metric."
Keep practicing
Take the free Datadog-APM-and-Distributed-Tracing-Fundamentals practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other Datadog-APM-and-Distributed-Tracing-Fundamentals practice questions
- Question 1Which statement is true for trace metrics?
- Question 2Your web service has some 500 Internal Server Error showing up on the trace explorer page…
- Question 3What does the following code snippet do for RUM React Native Monitoring? config.firstPart…
- Question 4Your food ordering portal had an incident last week. You would like to offer a discount t…
- Question 5Which of the following actions require creating facets first?
- Question 6How long are traces retained?
