#!/usr/bin/env python3 """Fetch and summarize a Datadog APM trace by ID. Uses the Datadog spans API directly with cursor pagination to fetch all spans (not capped at pup's 1000-span limit). Requires DD_API_KEY, DD_APP_KEY, and DD_SITE env vars (same ones pup uses). Usage: python dd_trace.py [--from