ANcpLua.Agents.Instrumentation
1.9.3
See the version list below for details.
dotnet add package ANcpLua.Agents.Instrumentation --version 1.9.3
NuGet\Install-Package ANcpLua.Agents.Instrumentation -Version 1.9.3
<PackageReference Include="ANcpLua.Agents.Instrumentation" Version="1.9.3" />
<PackageVersion Include="ANcpLua.Agents.Instrumentation" Version="1.9.3" />
<PackageReference Include="ANcpLua.Agents.Instrumentation" />
paket add ANcpLua.Agents.Instrumentation --version 1.9.3
#r "nuget: ANcpLua.Agents.Instrumentation, 1.9.3"
#:package ANcpLua.Agents.Instrumentation@1.9.3
#addin nuget:?package=ANcpLua.Agents.Instrumentation&version=1.9.3
#tool nuget:?package=ANcpLua.Agents.Instrumentation&version=1.9.3
ANcpLua.Agents.Instrumentation
OpenTelemetry middleware for Microsoft Agent Framework agents.
Compatible with: Microsoft.Agents.AI 1.9.x Tested against: Microsoft.Agents.AI 1.9.0
Channel: stable. This package must not reference Microsoft Agent Framework preview, RC, or alpha packages.
Surface
var builder = Host.CreateApplicationBuilder(args);
builder.AddAgentTelemetry();
builder.Services.AddOpenTelemetry()
.WithTracing(tracing => tracing.AddAgentFrameworkSources())
.WithMetrics(metrics => metrics.AddAgentFrameworkMeters());
var agent = baseAgent.AsBuilder()
.UseAgentRunTelemetry()
.UseAgentToolTelemetry()
.Build();
The middleware emits bounded run and tool spans plus bounded counters and duration histograms. It never emits raw prompts, message content, tool arguments, tool results, API keys, or exception messages.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- ANcpLua.Roslyn.Utilities (>= 2.2.26)
- Microsoft.Agents.AI (>= 1.9.0)
- Microsoft.Agents.AI.Abstractions (>= 1.9.0)
- Microsoft.Extensions.AI (>= 10.6.0)
- Microsoft.Extensions.AI.Abstractions (>= 10.6.0)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.8)
- OpenTelemetry (>= 1.15.3)
- OpenTelemetry.Api (>= 1.15.3)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on ANcpLua.Agents.Instrumentation:
| Package | Downloads |
|---|---|
|
ANcpLua.Agents.Hosting.ServiceDefaults
Aspire-style service defaults pre-tuned for Microsoft Agent Framework telemetry registration plus standard health endpoints. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.13.2 | 46 | 7/9/2026 |
| 1.13.1 | 50 | 7/8/2026 |
| 1.13.0 | 110 | 7/6/2026 |
| 1.11.0 | 129 | 6/29/2026 |
| 1.10.5 | 104 | 7/4/2026 |
| 1.10.4 | 114 | 6/26/2026 |
| 1.10.3 | 113 | 6/26/2026 |
| 1.10.2 | 104 | 6/26/2026 |
| 1.10.1 | 108 | 6/25/2026 |
| 1.10.0 | 115 | 6/11/2026 |
| 1.9.3 | 110 | 6/9/2026 |
| 1.9.2 | 108 | 6/9/2026 |
| 1.9.1 | 129 | 6/8/2026 |
| 1.9.0 | 117 | 6/4/2026 |
| 1.8.10 | 115 | 6/4/2026 |