.agents/skills/debug-issue-with-datadog/references/intake.md
Goal: extract every signal from the input before you touch Datadog. Cheap to do, expensive to skip — the wrong time window or wrong service tag can hide the real cause.
LFE-XXXX ID)mcp__d39d26f2-…__get_issue with id: "LFE-XXXX" and
includeRelations: true.mcp__d39d26f2-…__list_comments with the same issueId.projectId: <one-line note>) as oncall
investigates. Treat both description and comments as authoritative state.attachments for linked PRs/commits — these show what's already been
tried. Reading the diff of a half-merged fix often reveals the original
theory of the bug.integration-posthog, feat-exports, etc.) — they map
directly to the subsystem clusters in repo-debug-map.md.gh issue view <url-or-number> --json title,body,labels,comments,assignees.Error, TypeError, PrismaClientKnownRequestError,
etc.).projectId appears, that's gold — anchor every Datadog query on it.traceId (Datadog's, not Langfuse's) appears, jump straight to
get_datadog_trace.Build a small notes block. If a value is missing, mark it ? rather than
guessing — Datadog will tell you what's missing.
repo-debug-map.md.prod-eu / prod-us / prod-hipaa / prod-jp. If unknown,
query both EU and US.service:worker; UI/API timeouts are
service:web. Check for both when unsure.createdAt. If
the issue references a specific incident or alert, use that window ±1 day.projectId(s). Project IDs in Langfuse are cuid-shaped
(cl… / cm…, 25 chars). The reaction blocks in Linear descriptions
often are lists of affected project IDs.Header overflow, Timeout error., HTTP 403, DNS lookup failed,
Cannot write to canceled buffer, connection pool, etc.A short bullet list (not yet formatted as the final analysis) with each of
the above filled in. The remaining steps key off this — datadog-playbook.md
expects subsystem + region + window, repo-debug-map.md expects subsystem,
and the output template wants the affected projects.