{
  "slug": "datadog-ci-tag-accepts-comma-separated-level-values-736103ad4d57",
  "title": "datadog-ci tag accepts comma-separated --level values",
  "tools": [
    "datadog-ci"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-07-06T19:55:07.000Z",
  "announced_at": "2026-07-06T19:55:07.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When tagging pipeline and job spans in a CI Visibility run, invoke `datadog-ci tag` once with `--level pipeline,job` and the desired tags.",
    "examples": [
      "DATADOG_SITE=<site> datadog-ci tag --level pipeline,job --tags <tag1> --tags <tag2>"
    ],
    "gotchas": [
      "Version: v5.21.0",
      "--level: Selects the span level to tag. The v5.21.0 release note documents comma-separated values, including `pipeline,job`.",
      "--tags: Tag value to add; repeat the option for additional tags.",
      "DATADOG_SITE (required): Datadog site; supply it as an environment variable.",
      "DATADOG_API_KEY (required): Valid Datadog API key supplied as an environment variable.",
      "Prerequisite: Install datadog-ci CLI version 1.15.0 or later.",
      "Prerequisite: Set valid `DATADOG_API_KEY` and `DATADOG_SITE` environment variables."
    ]
  },
  "why_it_matters": "Tag software delivery events at the pipeline and job levels in one invocation.",
  "sources": [
    "https://github.com/DataDog/datadog-ci/releases/tag/v5.21.0",
    "https://docs.datadoghq.com/continuous_integration/pipelines/custom_tags_and_measures/"
  ],
  "rank": 0.94024,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave2a-20261017",
    "verdict_id": "wave2a-20261017:wave2a-20261017-19767d7132e5e78e-0:gate",
    "evidence_hash": "c091178cace1e484ad09d633c15da4941b6ac5d55843c8fd658e842be729d4e5"
  },
  "review": {
    "draft_hash": "b1dc79305cbf762603e35217e554d43663ad1701547ee5429aa0907b24dc72b6",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave2a-20261017:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.94 >= 0.9; 2 needed) and Jev gave 0.67 (>= 0.6 needed)."
  }
}
