Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.Net: Added traces for Agent invocations #10387

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

dmytrostruk
Copy link
Member

Motivation and Context

Resolves: #10174

This PR instruments Agent invocation operation with traces and adds an example with tracing enabled using Console and Application Insights.

Trace operation and attribute names are based on the work in following PR about adding AI Agent Semantic Convention to OpenTelemetry (currently in-progress): open-telemetry/semantic-conventions#1739.

Examples from Application Insights:

End-to-end transaction:
image

Traces:
image

Trace attributes related to Agent:
image

Contribution Checklist

@dmytrostruk dmytrostruk self-assigned this Feb 4, 2025
@dmytrostruk dmytrostruk requested a review from a team as a code owner February 4, 2025 04:47
@markwallace-microsoft markwallace-microsoft added .NET Issue or Pull requests regarding .NET code documentation labels Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation .NET Issue or Pull requests regarding .NET code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New Feature: Agent Names captured in traces and logs to aggregate per agent stats
2 participants