Keryhe.Telemetry.Timescale 1.2.4

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

Keryhe.Telemetry.Timescale

TimescaleDB provider for Keryhe Telemetry — a hypertable-aware write path on top of Npgsql/Dapper, reusing the Keryhe.Telemetry.PostgreSQL read repositories.

What it provides

  • AddTimescaleCollectorServices(configuration) — registers a singleton NpgsqlDataSource (from ConnectionStrings:Collector), ITelemetryBulkWriter, and ITenantResolver, targeting TimescaleDB's hypertables for the metric data-point tables and log_records.
  • AddTimescaleApiServices(configuration) — registers a singleton NpgsqlDataSource (from ConnectionStrings:Api) and the read repositories (including IRetentionSettingsRepository), derived from the PostgreSQL implementations since the query surface is identical.

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

Usage

builder.Services.AddTimescaleCollectorServices(builder.Configuration);
builder.Services.AddTimescaleApiServices(builder.Configuration);

Configuration:

  • Database:Provider — must be Timescale.
  • ConnectionStrings:Collector / ConnectionStrings:Api — Npgsql connection strings, e.g. Host=localhost;Port=5432;Database=telemetry;Username=postgres;Password=<password>.
  • In the all-in-one host (Keryhe.Telemetry.Server), the write and read connection strings must be identical — the underlying NpgsqlDataSource is a process-wide singleton.

Apply schema/Timescale-Schema.sql (or schema/apply-schema.sh timescale) before first use. It sets up hypertables on the metric data-point tables and log_records, compression starting at 7 days, retention (metrics 180 days, logs 90 days), and a continuous aggregate (log_severity_stats_daily, refreshed every 5 minutes) behind the log_severity_stats view.

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 80 9/25/2026
1.2.3 80 9/22/2026
1.2.2 77 9/22/2026
1.2.1 82 9/20/2026
1.2.0 96 9/19/2026
1.1.0 97 9/19/2026
1.0.1 129 9/10/2026