-
Notifications
You must be signed in to change notification settings - Fork 8
[Observability]Add open telemetry auto instrument for agent framework #12
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds OpenTelemetry auto-instrumentation support for Agent Framework agents by introducing a new extension library and the WithAgentFramework method to enable tracing capabilities.
- Adds a new
Microsoft.Agents.A365.Observability.Extensions.AgentFrameworkproject with builder extensions for Agent Framework observability - Introduces the
WithAgentFrameworkextension method to configure OpenTelemetry tracing for Agent Framework activity sources - Integrates the new project into the main solution structure under the Observability/Extensions hierarchy
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| README.md | Adds documentation file for the Agent Framework observability SDK |
| Microsoft.Agents.A365.Observability.Extensions.AgentFramework.sln | Creates solution file for the new Agent Framework observability extension project |
| Microsoft.Agents.A365.Observability.Extensions.AgentFramework.csproj | Defines project configuration, dependencies, and NuGet package metadata for Agent Framework observability |
| BuilderExtensions.cs | Implements the WithAgentFramework extension method and defines activity source constants for Agent Framework tracing |
| Microsoft.Agents.A365.Sdk.sln | Integrates the new Agent Framework observability project into the main solution |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
src/Observability/Extensions/AgentFramework/BuilderExtensions.cs
Outdated
Show resolved
Hide resolved
src/Observability/Extensions/AgentFramework/BuilderExtensions.cs
Outdated
Show resolved
Hide resolved
src/Observability/Extensions/AgentFramework/BuilderExtensions.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
src/Observability/Extensions/AgentFramework/BuilderExtensions.cs
Outdated
Show resolved
Hide resolved
src/Observability/Extensions/AgentFramework/BuilderExtensions.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 5 out of 5 changed files in this pull request and generated 5 comments.
src/Observability/Extensions/AgentFramework/AgentFrameworkSpanProcessor.cs
Outdated
Show resolved
Hide resolved
src/Observability/Extensions/AgentFramework/AgentFrameworkSpanProcessor.cs
Outdated
Show resolved
Hide resolved
src/Observability/Extensions/AgentFramework/BuilderExtensions.cs
Outdated
Show resolved
Hide resolved
src/Observability/Extensions/AgentFramework/AgentFrameworkSpanProcessor.cs
Outdated
Show resolved
Hide resolved
src/Observability/Extensions/AgentFramework/AgentFrameworkSpanProcessor.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.
Add WithAgentFramework to BuilderExtensions for enabling auto instrumentation for agent framework agents.