Invensys.ITrace.Client 21.1.4

There is a newer version of this package available.
See the version list below for details.
dotnet add package Invensys.ITrace.Client --version 21.1.4
                    
NuGet\Install-Package Invensys.ITrace.Client -Version 21.1.4
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Invensys.ITrace.Client" Version="21.1.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Invensys.ITrace.Client" Version="21.1.4" />
                    
Directory.Packages.props
<PackageReference Include="Invensys.ITrace.Client" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Invensys.ITrace.Client --version 21.1.4
                    
#r "nuget: Invensys.ITrace.Client, 21.1.4"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Invensys.ITrace.Client@21.1.4
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Invensys.ITrace.Client&version=21.1.4
                    
Install as a Cake Addin
#tool nuget:?package=Invensys.ITrace.Client&version=21.1.4
                    
Install as a Cake Tool

Invensys.ITrace.Client

Client package for sending .NET application errors, request timings, and EF Core database timings to an iTrace collector.

Quick Setup

Install or reference the package, then register iTrace in Program.cs:

using Invensys.ITrace.Client;

builder.Services.AddITrace(builder.Configuration);
builder.Logging.AddITrace();

var app = builder.Build();

app.UseITrace();

Add configuration:

{
  "ITrace": {
    "CollectorEndpoint": "https://localhost:5003",
    "Dsn": "itrace://assigned-dsn@collector/site",
    "ApplicationName": "Integra Flow",
    "Environment": "Production",
    "SiteName": "Default",
    "IncludeDbStatements": false
  }
}

For EF Core timings, add the interceptor when configuring the DbContext:

builder.Services.AddDbContext<AppDbContext>((services, options) =>
{
    options.UseSqlServer(connectionString);
    options.UseITraceDbTelemetry(services);
});

Use a DSN created in the iTrace dashboard for the target application, environment, and site.

OpenTelemetry

iTrace enriches the current Activity and emits spans from Invensys.ITrace.Client for export attempts and telemetry capture. If the host application uses OpenTelemetry, register the source:

builder.Services.AddOpenTelemetry()
    .WithTracing(tracing => tracing.AddSource(ITraceDiagnostics.ActivitySourceName));

Request attributes use current OpenTelemetry HTTP semantic names such as http.request.method, http.route, http.response.status_code, server.address, and url.path. Database timing attributes include db.system.name, db.namespace, and db.operation.name.

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
21.2.1 99 6/30/2026
21.1.6 90 6/28/2026
21.1.5 94 6/26/2026
21.1.4 96 6/26/2026
21.1.3 96 6/26/2026
21.1.2 96 6/26/2026
21.1.1 97 6/25/2026
21.1.0 101 6/24/2026
21.0.12 105 6/23/2026
21.0.11 93 6/23/2026
21.0.10 104 6/23/2026
21.0.9 96 6/23/2026
21.0.8 103 6/20/2026
21.0.7 92 6/20/2026
21.0.6 101 6/20/2026
21.0.5 96 6/20/2026
21.0.4 94 6/20/2026
21.0.3 94 6/19/2026
21.0.2 107 6/8/2026