Skip to content

feat: add action_ref parameter to trace_tool_span - #8149

Closed
MOHAMMED WASIM KHAN (wasim-builds) wants to merge 1 commit into
microsoft:mainfrom
wasim-builds:fix/7850-action-ref-telemetry
Closed

MOHAMMED WASIM KHAN (wasim-builds) wants to merge 1 commit into
microsoft:mainfrom
wasim-builds:fix/7850-action-ref-telemetry

Conversation

@wasim-builds

Copy link
Copy Markdown

Summary

Fixes #7850

Added gen_ai.agent.action_ref attribute support for cross-producer audit correlation. The action_ref is an optional parameter that can be set on tool spans.

Changes

  • Added GEN_AI_AGENT_ACTION_REF constant
  • Added optional action_ref parameter to trace_tool_span
  • Added tests for the new parameter

Test plan

  • New tests pass
  • Existing tests still pass

Added gen_ai.agent.action_ref attribute support for cross-producer
audit correlation. The action_ref is an optional parameter that
can be set on tool spans.

Fixes microsoft#7850
Copilot AI lite review requested due to automatic review settings September 2, 2026 05:17

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@wasim-builds

Copy link
Copy Markdown
Author

Superseded by #8187

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.

feat(autogen-core): add gen_ai.agent.action_ref to trace_tool_span for cross-producer audit correlation

2 participants