Keryhe.Telemetry.Api 1.2.4

dotnet add package Keryhe.Telemetry.Api --version 1.2.4
                    
NuGet\Install-Package Keryhe.Telemetry.Api -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.Api" 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.Api" Version="1.2.4" />
                    
Directory.Packages.props
<PackageReference Include="Keryhe.Telemetry.Api" />
                    
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.Api --version 1.2.4
                    
#r "nuget: Keryhe.Telemetry.Api, 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.Api@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.Api&version=1.2.4
                    
Install as a Cake Addin
#tool nuget:?package=Keryhe.Telemetry.Api&version=1.2.4
                    
Install as a Cake Tool

Keryhe.Telemetry.Api

REST read API for Keryhe Telemetry — controllers, multi-tenant middleware, and provider-agnostic wiring for querying ingested OpenTelemetry traces, metrics, logs, and alert rules.

What it provides

  • AddKeryheTelemetryApi(configuration) — registers the telemetry controllers (as an MVC application part, since they live in this library) and the scoped tenant context (ApiTenantContext / ITenantContext). It does not register a database provider — the host does that separately (see Usage below).
  • UseKeryheTelemetryApi() — adds the tenant-resolution middleware to the pipeline.

The host application still owns CORS, Swagger/OpenAPI, HTTPS redirection, and calling MapControllers().

Usage

builder.Services.AddKeryheTelemetryApi(builder.Configuration);

// Install the NuGet package matching your chosen provider alongside this one, e.g.
// Keryhe.Telemetry.PostgreSQL, and call its own Add<Provider>ApiServices:
builder.Services.AddPostgreSqlApiServices(builder.Configuration);

var app = builder.Build();
app.UseKeryheTelemetryApi();
app.MapControllers();
app.Run();

Configuration:

  • ConnectionStrings:Api — connection string for the api (read by the provider's own Add<Provider>ApiServices call, not by AddKeryheTelemetryApi).

Documentation

See the project README and CLAUDE.md for the full architecture, multi-tenancy model, 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 87 9/25/2026
1.2.3 90 9/22/2026
1.2.2 91 9/22/2026
1.2.1 91 9/20/2026
1.2.0 84 9/19/2026
1.1.0 86 9/19/2026
1.0.1 102 9/10/2026
1.0.0 105 9/7/2026