ANcpLua.Agents.Instrumentation
1.9.2
See the version list below for details.
dotnet add package ANcpLua.Agents.Instrumentation --version 1.9.2
NuGet\Install-Package ANcpLua.Agents.Instrumentation -Version 1.9.2
<PackageReference Include="ANcpLua.Agents.Instrumentation" Version="1.9.2" />
<PackageVersion Include="ANcpLua.Agents.Instrumentation" Version="1.9.2" />
<PackageReference Include="ANcpLua.Agents.Instrumentation" />
paket add ANcpLua.Agents.Instrumentation --version 1.9.2
#r "nuget: ANcpLua.Agents.Instrumentation, 1.9.2"
#:package ANcpLua.Agents.Instrumentation@1.9.2
#addin nuget:?package=ANcpLua.Agents.Instrumentation&version=1.9.2
#tool nuget:?package=ANcpLua.Agents.Instrumentation&version=1.9.2
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.8 | 0 | 7/19/2026 |
| 1.13.7 | 37 | 7/19/2026 |
| 1.13.6 | 48 | 7/16/2026 |
| 1.13.5 | 45 | 7/16/2026 |
| 1.13.4 | 84 | 7/15/2026 |
| 1.13.3 | 85 | 7/15/2026 |
| 1.13.2 | 107 | 7/9/2026 |
| 1.13.1 | 108 | 7/8/2026 |
| 1.13.0 | 111 | 7/6/2026 |
| 1.11.0 | 130 | 6/29/2026 |
| 1.10.5 | 105 | 7/4/2026 |
| 1.10.4 | 116 | 6/26/2026 |
| 1.10.3 | 115 | 6/26/2026 |
| 1.10.2 | 105 | 6/26/2026 |
| 1.10.1 | 109 | 6/25/2026 |
| 1.10.0 | 116 | 6/11/2026 |
| 1.9.3 | 112 | 6/9/2026 |
| 1.9.2 | 109 | 6/9/2026 |
| 1.9.1 | 130 | 6/8/2026 |
| 1.9.0 | 118 | 6/4/2026 |