FDE Times dataFDE jobs open 932▼14 Change in open roles over 7 days, like-for-like: roles from companies we started tracking this week are left outNew in 7 days 62Companies hiring 202Remote-friendly 24%Median US pay $201kTop hirer Databricks 92
中文VI

The newspaper of the Forward Deployed Engineer

Tools

The missing trace_id that stalls an FDE in front of the client

Datadog links a trace to its logs only when they carry the trace ID, and a five-minute check before the meeting keeps an investigation on course.

ShareLinkedInFacebookX

In brief

  • Each request sent to an instrumented application becomes a trace. The trace's flame graph shows where the time goes.
  • Datadog links traces and logs by injecting trace IDs and span IDs into the logs. Logs without a trace ID do not appear under the trace.
  • The FDE role at Datadog is a management post, advising customers through complex deployment cycles. At Dash0, the FDE rolled out OpenTelemetry hands-on at enterprise customers.
Two-panel diagram. On the left, APM shows the spans of one trace, with a slow span highlighted. On the right, Log Management shows log lines for retry, retry and timeout. An orange arrow labelled "trace ID + span ID" links the slow span to the log lines from that same request.
APM shows where a request is slow; logs show why. The two layers connect only when Datadog injects the trace ID and span ID into the log. The retry and timeout examples come from a hypothetical scenario in the article.

Datadog’s own FDE job posting does not ask you to debug inside a customer’s Datadog account. The role, “Forward Deployed Engineering Manager - Datadog for Startups”, calls for an adviser whom customers trust through complex deployment cycles, who can handle frequent travel, and who manages a group of SWEs and TSEs seconded to the team in rotation.

Dash0, when it was hiring FDEs for EMEA, described a far more hands-on job: working directly with enterprise customers to deploy and configure OpenTelemetry instrumentation in their environments. That posting has since closed, but it shows that the real work lies in getting observability to run properly on the customer’s systems.

For you, the real test often comes when the customer already runs Datadog. A request is slow, the whole meeting room turns to you, and you have to get from the trace to the log line that explains it. Below is how to do that, along with a five-minute check that many people skip.

Every request leaves a trace

Datadog’s APM tutorial starts simply: each time you run a curl command against the sample application, a new trace is sent to Datadog and can be opened in the Traces view. Select a trace and you see its details, including a flame graph. According to Datadog’s documentation, the flame graph is where you identify performance bottlenecks.

A trace tells you only where the time went. To learn why, you need logs, and Datadog links the two by injecting trace IDs and span IDs into logs as attributes. A trace’s log panel has four filters: trace_id, host, container_id and pod_name. Only the trace_id filter isolates the lines carrying that request’s ID.

A slow request nobody can explain

Take a hypothetical integration you have just put into a customer’s system. On the third day, the customer reports that some requests going through your service take a very long time to return. Their team suspects a fault on your side, and you have no evidence to the contrary yet.

You open Traces, pick a slow trace for that endpoint and read the flame graph. Say most of the time falls in a call to one of the customer’s internal services, outside your code. You turn on the trace_id filter in the log panel to see what the request recorded, and the panel is empty.

Many people conclude too quickly at this point that the request logged nothing. Usually the logs exist, but Datadog does not know which trace they belong to.

A five-minute check before the meeting

Send a sample request yourself, as Datadog’s tutorial does with curl, then open the log line it generated. There is one question: does the line carry a trace ID? Datadog’s troubleshooting documentation says plainly that a log without a trace ID will not appear under the trace.

Say the customer’s service writes a log line like this, with the ID under a custom field name:

{"level":"warn","msg":"upstream timeout, retry 3/3","traceId":"<id>"}

In such cases, Datadog’s documentation tells you to extract the ID and remap it to trace_id, the attribute Datadog reserves for the purpose.

If you are doing the instrumentation from scratch, use the right names from the start. The specification from OpenTelemetry, a vendor-neutral standard, says JSON logs and other non-OTLP formats should use the fields trace_id and span_id, written in lowercase hex.

The slowest span may not be the culprit

Once the logs are linked, you may see a run of retries and timeout messages. Stay level-headed here: the customer’s internal service may be slow precisely because your requests send it too many retries, in which case the fault comes back to your side.

The flame graph gives you the durations, and the logs give you the story behind them. Bring both to the meeting, and the conversation moves from “whose fault is it” to “where do we fix it”.

What to learn first, and what to put on your CV

Start with the sample application in the APM tutorial, and practice reading flame graphs until you can point to the suspect span within seconds. Next, link traces to logs, including the remapping step for field names that stray from the standard. Then learn the OpenTelemetry conventions: they were central to the FDE role Dash0 advertised, and they carry over to every customer.

When you read job postings, look at how the actual work is described. Advising on deployments, as at Datadog, is very different from installing instrumentation yourself, as at Dash0, and a heavy travel requirement also needs to be factored in.

Datadog’s secondment model also suggests a way to try out the role. If you are an SWE or TSE at a company with a similar rotation program, asking for a secondment lets you try FDE work without changing jobs.

On your CV, go further than “proficient in Datadog”. Describe a specific case: which system you instrumented, how you linked traces to logs, and how much debugging time fell, if you measured it.

However good the observability tool, a trace still stops at the boundary between two teams. The person who can open the log line at that boundary is the one customers want to keep.

Was this article useful?

Use with your AI assistantAsk Claude ↗Ask ChatGPT ↗
6 sources
Read next on the roadmap · Stage 5: DeploymentZarf, born of US Navy research, puts an air-gap install in one fileImages, Helm charts and configuration travel together and are checked before they cross the boundary, which matters more as an FDE's clients sit in tightly regulated industries.