Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

datadog-ci

$ datadog-ci Official Med Risk
Datadog · Code & DevOps · Apache-2.0 · macos / linux / windows

Datadog's official CI/CD automation CLI for uploading JUnit test reports, SARIF security scans, sourcemaps, DORA deployment events, and triggering Synthetics tests. Uses DATADOG_API_KEY / DATADOG_APP_KEY env vars and includes --dry-run on upload commands.

FCRS-1.0 Score
81 /100
Good
Medium Confidence
Zero-Friction Install
npm install -g @datadog/datadog-ci
CLI vs MCP Decision Hybrid (CLI + MCP)

Use datadog-ci in pipelines for uploading JUnit/SARIF/sourcemaps and running Synthetics CI gates; use Datadog API/MCP to query metrics or logs.

Agent-Readiness Checklist

— JSON Output
— Field Filtering
✓ Non-Interactive
✓ Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 18 / 25

Non-interactive env-var CLI with --dry-run on uploads, though outputs are plain text logs rather than --json.

  • Supports --dry-run on junit upload, sourcemaps upload, and sarif upload
  • No global --json output mode
Trust & Safety 21 / 25

Ephemeral env-var API keys (DATADOG_API_KEY) with no disk credential files and --dry-run validation.

  • Env-var-only authentication and --dry-run payload checks
Setup & Portability 13 / 15

Available via npm/npx and standalone Node-bundled release binaries across macOS, Linux, and Windows.

  • Available via @datadog/datadog-ci and standalone binaries
Utility & Efficiency 12 / 15

Focused exclusively on CI ingestion and Synthetics triggers rather than general Datadog log/metric querying.

  • Specialized CI uploader for JUnit, SARIF, DORA, and Synthetics
Maintenance & Lineage 9 / 10

Official Datadog CLI under Apache-2.0 with regular releases.

  • First-party DataDog/datadog-ci repository
Docs & Verifiability 8 / 10

Documented subcommand READMEs and Datadog Continuous Integration docs.

  • Documented at docs.datadoghq.com/continuous_integration/

Security, Auth & Guardrails

Auth Modes
Env API Key
Credential Storage

Reads DATADOG_API_KEY, DATADOG_APP_KEY, and DATADOG_SITE purely from environment variables.

Side Effects
Read-Only Remote Write
Cost & Quotas

Apache-2.0 open-source CLI; Datadog CI Visibility and Synthetics usage billed by Datadog plan.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# datadog-ci Agent Rules
- Always pass `--dry-run` when testing `junit upload` or `sourcemaps upload` payloads.
- Ensure `DATADOG_SITE` matches your account region (e.g. `datadoghq.com` vs `datadoghq.eu`).

Agent-Ready Command Recipes

Safe Read-Only Queries

Check datadog-ci version and CLI subcommands
datadog-ci version

Prints the installed CLI version without making network calls.

Dry-run JUnit test report upload
datadog-ci junit upload --service my-app --dry-run ./reports

Validates and parses JUnit XML files locally without uploading events to Datadog.

Controlled Writes & Previews

Dry-run sourcemap upload validation
datadog-ci sourcemaps upload ./dist --service my-app --release-version 1.0.0 --minified-path-prefix /static --dry-run

Verifies sourcemap matching and bundle metadata without transmitting files.

Strengths for Agents

  • + --dry-run flags let agents validate JUnit, SARIF, and sourcemap uploads locally.
  • + Pure environment-variable credential model (DATADOG_API_KEY, DATADOG_SITE).
  • + Zero interactive prompts across all CI subcommands.

Caveats & Pitfalls

  • ! Does not query Datadog logs, APM traces, or metrics—strictly a CI ingestion/trigger tool.
  • ! Outputs human-readable logs rather than structured JSON.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI