error-tracking

Search, triage, and manage Datadog Error Tracking issues via the pup CLI.

5|2|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/lauhon/pi --skill error-tracking-lauhon
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: error-tracking
Source: https://github.com/lauhon/pi/tree/main/skills/error-tracking
Command: npx skills add https://github.com/lauhon/pi --skill error-tracking-lauhon

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Engineering teams struggle to find, prioritize, and assign errors scattered across traces, logs, and RUM data. This Skill lets you query Datadog Error Tracking issues, inspect stack traces and occurrence trends, and route ownership without leaving your workflow. ## Core Features & Use Cases - Issue Search: Query error issues by service, environment, status, error type, and time range using Datadog search syntax, with ordering by occurrence count or first seen. - Issue Details: Retrieve full issue information including stack traces, occurrence counts, assignees, and team ownership. - Lifecycle Management: Update issue states (open, resolved, ignored) and assign issues to users or teams, with Jira and case management integration. - Use Case: Ask "What are the most frequent open errors in production this week?" and get a ranked table of issues with occurrence counts, affected services, and assignment recommendations. ## Quick Start Ask the agent to show all open errors in your production environment from the last 24 hours ordered by occurrence count.

Frequently Asked Questions about error-tracking

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search Datadog error tracking issues by service?

Use the pup error-tracking issues search command with a query like service:api-gateway and a time range such as --from=24h. You can combine filters with AND/OR operators and order results by TOTAL_COUNT or FIRST_SEEN.

How do I find the most frequent errors in production?

Run a search with query env:production, a time window like 7d, and --order-by=TOTAL_COUNT to rank issues by occurrence count. Add --limit to restrict results to the top errors.

What credentials does Datadog error tracking require?

You need DD_API_KEY and DD_APP_KEY environment variables, plus DD_SITE which defaults to datadoghq.com. Missing credentials produce an error prompting you to set these variables.

Can I update error issue status or assign issues from the CLI?

State changes (open, resolved, ignored) and assignments to users or teams are write operations performed through the Datadog UI or Datadog API directly. The CLI search and get operations are read-only and run automatically.

Why does my error tracking search query fail?

Failures usually come from invalid query syntax, an overly large time range, or insufficient API key permissions. Check the Datadog search syntax, narrow the time window, and verify your keys have error tracking permissions.