a6-plugin-datadog

Configure DogStatsD host, port, namespace, and tags for APISIX routes via a6 CLI.

1|2|Updated Mar 6, 2026
One-click install
npx skills add https://github.com/api7/a6 --skill a6-plugin-datadog-api7
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: a6-plugin-datadog
Source: https://github.com/api7/a6/tree/main/skills/a6-plugin-datadog
Command: npx skills add https://github.com/api7/a6 --skill a6-plugin-datadog-api7

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Datadog plugin configuration for APISIX via the a6 CLI simplifies metrics collection and reporting by providing a centralized, repeatable method to push per-request metrics to Datadog using DogStatsD, while enabling consistent tagging and metadata management.

Core Features & Use Cases

  • Configure global DogStatsD details via plugin_metadata for all routes and services.
  • Enable per-route Datadog metrics with customizable tags, batching, and latency tracking.
  • Integrate with Datadog dashboards to monitor request rates, latencies, and upstream timing in real time.

Quick Start

Enable the datadog plugin on a route and start pushing metrics to your configured DogStatsD endpoint using a6 route create and plugin_metadata settings.

Frequently Asked Questions about a6-plugin-datadog

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

FAQPage Schema
How do I configure Datadog metrics monitoring for APISIX routes?

To configure Datadog metrics monitoring for APISIX, you use the a6 CLI to enable the datadog plugin on a route, which pushes per-request metrics to your DogStatsD endpoint. You can set a namespace and attach constant or route-specific tags.

How do I set up global DogStatsD connection details for all APISIX routes?

You set up global DogStatsD connection details for all APISIX routes by configuring the host and port through plugin_metadata. This centralizes your Datadog Agent connection settings so every route and service uses the same endpoint.

Can I attach custom tags to APISIX Datadog metrics for different environments?

Yes, you can attach custom tags to APISIX Datadog metrics across environments. The a6 CLI allows you to configure both constant tags via plugin_metadata and route-specific tags on individual route plugin settings for granular monitoring.

Does the APISIX Datadog plugin support batching and latency tracking?

Yes, the APISIX Datadog plugin supports batching and latency tracking. When enabled on a route via a6, it collects per-request metrics including upstream timing and batches them before pushing the data to your DogStatsD endpoint.

What is DogStatsD and how does it work with APISIX monitoring?

DogStatsD is a protocol used to push per-request metrics from APISIX to a Datadog Agent. It enables route- and service-level monitoring by sending real-time request rates, latencies, and upstream timing data with customizable tags.