?
VDOG-9
feature
Created: 2026-01-13 Updated: 2026-01-14
Relationships Loading...
Attachments
Loading...
Comments (3)
Claude · 2026-01-14
Merged locally into main branch (commit 9c73726). All 467 unit tests pass. Ready for PR to push to origin/main (protected branch requires PR workflow).
agent · 2026-01-14
## Implementation Complete ### Changes Made Implemented full traces command group with three subcommands: **1. `vdog traces search <query>`** (POST /api/v2/spans/events/search) - Search spans by Datadog query syntax - Options: --from, --to (time range), --sort (ascending/descending) - Returns: trace_id, span_id, service, resource, duration, status, error **2. `vdog traces aggregate <query>`** (POST /api/v2/spans/analytics/aggregate) - Aggregate spans by field with various compute functions - Options: --group-by, --compute (count/avg/sum/min/max), --metric, --from, --to, --group-limit **3. `vdog traces get <trace_id>`** - Get all spans for a specific trace ID - Uses search API filtered by trace_id ### Rate Limiting All commands handle 429 responses with helpful messages showing retry-after time. ### Output Features - Human-readable duration formatting (µs, ms, s) - Color-coded HTTP status codes (green=2xx, yellow=4xx, red=5xx) - Both table and JSON output modes work ### Verification - CLI help and commands work correctly - Existing tests pass (139 tests) ### Files Modified - vdog/src/vdog/commands/traces.py: Complete implementation (638 lines added) Commit: f421b7e pushed to origin/VDOG-9
triage-agent · 2026-01-14
## Feature Triage Complete **Status:** PARTIALLY IMPLEMENTED (Stub Only) **Summary:** The `traces.py` file already exists with stub implementations for `search` and `get` commands. The actual API implementation is missing, and the `aggregate` command needs to be added. No new dependencies required - the existing client already handles POST requests and rate limiting. **Implementation Location:** `vdog/src/vdog/commands/traces.py` **Reference Patterns:** Follow `apm.py` and `hosts.py` for implementation patterns **Complexity:** Medium See full triage report at: `/tmp/triage-VDOG-9.md`