dd-debugger

Inspect production runtime method data using customizable Datadog probes.

Updated Jan 14, 2022
One-click install
npx skills add https://github.com/alexmarucci/dotfiles --skill dd-debugger
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dd-debugger
Source: https://github.com/alexmarucci/dotfiles/tree/main/claude/skills/dd-debugger
Command: npx skills add https://github.com/alexmarucci/dotfiles --skill dd-debugger

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pup, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Live Debugger solves the issue of inspecting production runtime argument/variable values without redeploying services, aiding in understanding function input, parameter states, and capturing live service data.

Core Features & Use Cases

  • Live Data Capture: Place log probes on running services to capture runtime data without redeployment.
  • Custom Templates: Create probes with custom templates and conditions for specific data requirements.
  • Real-time Streaming: Stream captured events in real time for continuous monitoring.
  • Use Case: If you need to know the values a function receives or understand the state of parameters at runtime, use the Live Debugger to place probes and capture the necessary data.

Quick Start

To create a probe for the 'my-service' service in the 'production' environment, use the command: pup debugger probes create --service my-service --env production --capture "request.id" --capture "request.headers" --ttl 1h

Frequently Asked Questions about dd-debugger

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

FAQPage Schema
What is live debugging in production environments?

Live debugging is the inspection of runtime argument and variable values in production environments without requiring service redeployment. It aids in understanding function inputs and capturing live service data using probes.

How do I capture live runtime data from a production service?

You capture live runtime data by placing log probes on running services with customizable templates and conditional logic. This allows real-time streaming of captured events for continuous monitoring and analysis.

Do I need an API key to inspect runtime data with Datadog?

Yes, inspecting runtime data with Datadog requires a Datadog OAuth2 or API key for authentication. You also need the pup execution framework to run the debugger commands and manage probes.

How do I create a probe to capture method parameters in real time?

To create a probe, specify the service and environment, then define the runtime data to capture using a command like `pup debugger probes create --service my-service --env production --capture "request.id" --ttl 1h`.

Can I add conditional logic to live debugger probes?

Yes, you can create probes with custom templates and conditional logic to capture specific information. This ensures you only collect the exact runtime data required for your debugging and analysis purposes.