Elyspio.Utils.Telemetry 2.0.0

dotnet add package Elyspio.Utils.Telemetry --version 2.0.0
                    
NuGet\Install-Package Elyspio.Utils.Telemetry -Version 2.0.0
                    
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="Elyspio.Utils.Telemetry" Version="2.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Elyspio.Utils.Telemetry" Version="2.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Elyspio.Utils.Telemetry" />
                    
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 Elyspio.Utils.Telemetry --version 2.0.0
                    
#r "nuget: Elyspio.Utils.Telemetry, 2.0.0"
                    
#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 Elyspio.Utils.Telemetry@2.0.0
                    
#: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=Elyspio.Utils.Telemetry&version=2.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Elyspio.Utils.Telemetry&version=2.0.0
                    
Install as a Cake Tool

Elyspio.Utils.Telemetry

Elyspio.Utils.Telemetry bootstraps OpenTelemetry tracing and metrics for ASP.NET Core applications targeting .NET 10.

Installation

dotnet add package Elyspio.Utils.Telemetry
dotnet add package Elyspio.Utils.Telemetry.MongoDB
dotnet add package Elyspio.Utils.Telemetry.Sql
dotnet add package Elyspio.Utils.Telemetry.Redis

Quick start

using Elyspio.Utils.Telemetry.Technical.Extensions;
using Elyspio.Utils.Telemetry.Tracing.Builder;

var builder = WebApplication.CreateBuilder(args);
builder.Host.UseSerilogWithTelemetry();

if (builder.Configuration.IsTelemetryEnabled(out var options))
{
    var telemetry = new AppOpenTelemetryBuilder<Program>(options!, builder.Configuration);
    telemetry.Build(builder.Services);
    builder.Services.AddOpenTelemetryJsonConfiguration(builder.Configuration);
}

var app = builder.Build();
app.UseOpenTelemetryJsonConfiguration();

AddOpenTelemetryJsonConfiguration reads OpenTelemetry:Capture by default. UseOpenTelemetryJsonConfiguration applies it immediately and refreshes the capture cache when configuration reloads.

{
  "OpenTelemetry": {
    "CollectorUri": "http://localhost:4318/",
    "Service": "my-service",
    "Protocol": "HttpProtobuf",
    "Capture": {
      "Activated": true,
      "Levels": { "Debug": false, "Trace": false }
    }
  }
}

MongoDB instrumentation protects GridFS chunk commands by recording GridFS instead of the command payload. SQL instrumentation omits Hangfire commands and, when Capture:Levels:Debug is enabled, adds parameter tags.

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 (4)

Showing the top 4 NuGet packages that depend on Elyspio.Utils.Telemetry:

Package Downloads
Elyspio.Utils.Telemetry.MongoDB

Bootstrap OpenTelemetry instrumentation/exporter

Elyspio.Utils.Telemetry.Redis

Bootstrap OpenTelemetry instrumentation/exporter

Elyspio.Utils.Telemetry.MassTransit

Bootstrap OpenTelemetry instrumentation/exporter

Elyspio.Utils.Telemetry.Sql

Bootstrap OpenTelemetry instrumentation/exporter

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.0.0 67 7/22/2026
1.4.0 130 5/3/2026
1.3.0 105 3/28/2026
1.2.0 91 3/19/2026
1.1.2 118 3/1/2026
1.1.1 91 3/1/2026
1.1.0 94 3/1/2026
1.0.1 3,837 7/20/2025
1.0.0 2,289 7/20/2025