Datadog-APM-and-Distributed-Tracing-Fundamentals practice question 11 of 25

After the application is instrumented, the trace client will attempt to send traces to the Unix

Full set: 180 questions
Answer options
A: Traces are directed to http://localhost:8126. Correct answer
B: The tracer will fail safely with an error on debug logs.
C: The tracer will look for the custom URL set.
D: The application will restart.
Correct Answer:
A. Traces are directed to http://localhost:8126.
Explanation

After instrumentation, the Datadog trace client automatically attempts to send traces to the local Datadog Agent at http://localhost:8126 by default. This is the standard endpoint where the Datadog Agent listens for trace data. The Agent then forwards the traces to Datadog's backend. This default configuration allows applications to work immediately after instrumentation without requiring additional configuration, following Datadog's auto-discovery pattern.

Why Incorrect

B. The tracer doesn't fail with debug errors; it attempts connection to the default endpoint.
C. The tracer uses the default endpoint unless explicitly configured otherwise.
D. Application restart is not triggered by trace client initialization or connection attempts.

References

1. Datadog Documentation: "Getting Started with APM" - Trace Client Configuration section, specifying default Agent endpoint as localhost:8126

2. Datadog Documentation: "Configuring the Datadog Agent" - APM & Continuous Profiler settings, documenting port 8126 as the default trace receiver port

3. Datadog Documentation: "Tracing Setup" - Language-specific guides confirming automatic connection to localhost:8126 upon initialization

Scroll to Top