What problem does it solve? Investigating slow endpoints, errors, and service dependencies in distributed systems requires navigating complex APM UIs. This Skill lets you query Datadog APM traces, service statistics, and dependency maps directly from the command line using the pup CLI. ## Core Features & Use Cases - Trace Search & Aggregation: Search traces by service, status, or duration and compute aggregates like average latency, p99, and error counts grouped by resource or service. - Service Analysis: List services, view operations and resources, inspect flow maps, and explore service dependencies per environment. - Config Drift Auditing: Query service instance metadata and tracer library configurations to detect misconfigured tracing, profiling, or AppSec settings across a fleet. - Use Case: When p99 latency spikes on your api-gateway service, search slow traces with duration filters, aggregate by resource name to find the offending endpoint, and check service dependencies for downstream bottlenecks. ## Quick Start Ask the assistant to list all APM services in the production environment and search for error traces from the last hour.