Skip to content

Add ai_guard.event:true tag to root spans#6736

Open
manuel-alvarez-alvarez wants to merge 6 commits intomainfrom
malvarez/ai-guard-event-tag
Open

Add ai_guard.event:true tag to root spans#6736
manuel-alvarez-alvarez wants to merge 6 commits intomainfrom
malvarez/ai-guard-event-tag

Conversation

@manuel-alvarez-alvarez
Copy link
Copy Markdown
Member

Motivation

AI Guard SDK should set the ai_guard.event:true tag on root spans to easily fetch traces with AI Guard related events.

Changes

Add single test and update all manifests.

Workflow

  1. ⚠️ Create your PR as draft ⚠️
  2. Work on you PR until the CI passes
  3. Mark it as ready for review
    • Test logic is modified? -> Get a review from RFC owner.
    • Framework is modified, or non obvious usage of it -> get a review from R&P team

🚀 Once your PR is reviewed and the CI green, you can merge it!

🛟 #apm-shared-testing 🛟

Reviewer checklist

  • Anything but tests/ or manifests/ is modified ? I have the approval from R&P team
  • A docker base image is modified?
    • the relevant build-XXX-image label is present
  • A scenario is added, removed or renamed?

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 13, 2026

CODEOWNERS have been resolved as:

manifests/cpp_httpd.yml                                                 @DataDog/dd-trace-cpp
manifests/cpp_nginx.yml                                                 @DataDog/dd-trace-cpp
manifests/dotnet.yml                                                    @DataDog/apm-dotnet @DataDog/asm-dotnet
manifests/golang.yml                                                    @DataDog/dd-trace-go-guild
manifests/java.yml                                                      @DataDog/asm-java @DataDog/apm-java
manifests/nodejs.yml                                                    @DataDog/dd-trace-js
manifests/php.yml                                                       @DataDog/apm-php @DataDog/asm-php
manifests/python.yml                                                    @DataDog/apm-python @DataDog/asm-python
manifests/ruby.yml                                                      @DataDog/ruby-guild @DataDog/asm-ruby
tests/ai_guard/test_ai_guard_sdk.py                                     @DataDog/k9-ai-guard @DataDog/system-tests-core

@manuel-alvarez-alvarez manuel-alvarez-alvarez force-pushed the malvarez/ai-guard-event-tag branch from ac6a1e4 to baa116d Compare April 13, 2026 14:06
@manuel-alvarez-alvarez manuel-alvarez-alvarez marked this pull request as ready for review April 13, 2026 14:10
@manuel-alvarez-alvarez manuel-alvarez-alvarez requested review from a team as code owners April 13, 2026 14:10
@manuel-alvarez-alvarez manuel-alvarez-alvarez requested review from claponcet, duncanista, jandro996, mhlidd and taegyunkim and removed request for a team April 13, 2026 14:10
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: baa116d280

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@manuel-alvarez-alvarez manuel-alvarez-alvarez requested a review from a team as a code owner April 14, 2026 09:04
@manuel-alvarez-alvarez manuel-alvarez-alvarez requested review from dmehala and removed request for a team April 14, 2026 09:04
@manuel-alvarez-alvarez manuel-alvarez-alvarez changed the title feat(ai-guard): add ai_guard.event:true tag to root spans Add ai_guard.event:true tag to root spans Apr 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants