Keryhe.Telemetry.SqlServer 1.2.4

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

Keryhe.Telemetry.SqlServer

SQL Server provider for Keryhe Telemetry — Microsoft.Data.SqlClient/Dapper implementations of the write and read repositories.

What it provides

  • AddSqlServerCollectorServices(configuration) — registers ITelemetryBulkWriter (SqlBulkCopy/MERGE-based) and ITenantResolver, connecting via ConnectionStrings:Collector.
  • AddSqlServerApiServices(configuration) — registers ITraceReadRepository, IMetricReadRepository, ILogReadRepository, IAlertRuleRepository, ITenantCatalogRepository, and IRetentionSettingsRepository, connecting via ConnectionStrings:Api.

Install this package alongside Keryhe.Telemetry.Collector (write side) and/or Keryhe.Telemetry.Api (read side), and set Database:Provider to SqlServer.

Usage

builder.Services.AddSqlServerCollectorServices(builder.Configuration);
builder.Services.AddSqlServerApiServices(builder.Configuration);

Configuration:

  • Database:Provider — must be SqlServer.
  • ConnectionStrings:Collector / ConnectionStrings:Api — standard ADO.NET connection strings, e.g. Server=localhost;Database=telemetry;User Id=sa;Password=<password>;TrustServerCertificate=true.

Apply schema/SqlServer-Schema.sql (or schema/apply-schema.sh sqlserver) before first use.

Documentation

See the project README and CLAUDE.md for the full architecture and setup guide.

License

MIT

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
1.2.4 78 9/25/2026
1.2.3 88 9/22/2026
1.2.2 83 9/22/2026
1.2.1 93 9/20/2026
1.2.0 104 9/19/2026
1.1.0 104 9/19/2026
1.0.1 131 9/10/2026