datadog-api-client

Query and manage Datadog resources via the datadog-api-client Python library.

Updated Jun 1, 2023
One-click install
npx skills add https://github.com/ErebusBat/chezmoi --skill datadog-api-client
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: datadog-api-client
Source: https://github.com/ErebusBat/chezmoi/tree/main/dot_config/opencode/skill/datadog-api-client
Command: npx skills add https://github.com/ErebusBat/chezmoi --skill datadog-api-client

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the querying and management of Datadog resources, simplifying complex monitoring and operational tasks.

Core Features & Use Cases

  • Log Searching: Quickly find specific logs based on various criteria.
  • Metric Querying: Retrieve and analyze performance metrics.
  • Monitor Management: List, create, or update Datadog monitors.
  • Incident Investigation: Access and manage Datadog incidents.
  • Dashboard Interaction: List and interact with Datadog dashboards.
  • Use Case: Troubleshoot an application by searching logs for errors within a specific service and time range, then check the CPU metrics for that service to identify performance bottlenecks.

Quick Start

Use the datadog-api-client skill to search logs for service 'my-service' with status 'error' from the last hour.

Frequently Asked Questions about datadog-api-client

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

FAQPage Schema
How do I search Datadog logs for specific service errors?

To search Datadog logs for service errors, use this Skill to query logs based on specific criteria like service name, error status, and time range. It automates log searching through the Datadog API v1 and v2 endpoints.

Can I manage Datadog monitors and dashboards via API?

Yes, you can manage Datadog monitors and dashboards via API. This Skill supports listing, creating, and updating monitors, alongside interacting with dashboards to help you maintain comprehensive operational control.

What do I need to query Datadog metrics and incidents?

To query Datadog metrics and incidents, you need valid Datadog API keys and site configuration for authentication. This Skill uses these credentials to access and retrieve your performance metrics and incident data.

Does the Datadog API client support both v1 and v2 endpoints?

Yes, the Datadog API client supports interaction with both API v1 and v2 endpoints. This allows comprehensive monitoring and operational control over logs, metrics, monitors, dashboards, and incidents.

What is the best way to investigate application performance bottlenecks using Datadog?

The best way to investigate performance bottlenecks is to search Datadog logs for service errors within a specific time range, then retrieve and analyze CPU metrics for that service to identify the root cause.

Why are my Datadog API queries failing to authenticate?

Datadog API queries fail to authenticate when required API keys and site configuration are missing or incorrect. This Skill requires proper authentication credentials to access Datadog resources for monitoring and management.