apm-configuration

Manage Datadog APM retention filters and span-based metrics via API.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires dd-trace-py, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the management of Datadog APM (Application Performance Monitoring) configurations, allowing users to efficiently handle retention filters and create custom metrics for deeper insights into application performance.

Core Features & Use Cases

  • Retention Filters Management: Create, update, delete, list, reorder, and sample rates for retention filters to control indexed spans and generate metrics.
  • Span-Based Metrics Creation: Generate custom metrics from distributed traces to monitor performance and create custom dashboards.
  • Use Case: For a DevOps engineer who needs to optimize the performance of a web application, this Skill can be used to create retention filters to retain critical spans and generate metrics to track response times and error rates.

Quick Start

Use the apm-configuration skill to create a retention filter for span indexing with the following command: create-retention-filter --name "Critical Transactions" --query "service:web AND @duration:>2s" --rate 1.0 --enabled true

Frequently Asked Questions about apm-configuration

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

FAQPage Schema
How do I create Datadog APM retention filters for span indexing?

Create Datadog APM retention filters by specifying a name, query, sample rate, and enabled status to control indexed spans. This allows you to retain critical traces and generate metrics for monitoring application performance.

Can I generate custom metrics from Datadog distributed traces?

Yes, you can generate custom metrics from Datadog distributed traces to monitor application performance. This allows you to track response times and error rates by creating span-based metrics for custom dashboards.

What do I need to manage Datadog APM configurations with this tool?

You need access to the Datadog API with appropriate permissions and the dd-trace-py dependency installed. These prerequisites allow you to automate the creation and manipulation of retention filters and span-based metrics.

What operations are available for managing APM retention filters?

Available operations for APM retention filters include creating, updating, deleting, listing, reordering, and setting sample rates. These operations allow you to control indexed spans and generate metrics from retained traces.

Why should I use retention filters in Datadog APM?

Use retention filters in Datadog APM to control indexed spans and generate metrics from distributed traces. This allows you to retain critical spans while reducing storage costs and tracking specific performance metrics.