NetEvolve.HealthPublishers.Seq 1.10.0

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

NetEvolve.HealthPublishers.Seq

NuGet Version NuGet Downloads License

An IHealthCheckPublisher implementation that pushes HealthReport results to a Seq server, using Seq's CLEF ingestion endpoint (/ingest/clef) directly over HTTP.

Features

  • Pushes a single structured CLEF event per publish, summarizing the overall report status, elapsed time, and a per-check breakdown
  • Maps HealthStatus to a Seq level (HealthyInformation, DegradedWarning, UnhealthyError)
  • Tags every event with the machine name and a required, free-form SystemIdentifier to tell instances apart
  • Configuration- or builder-based setup, consistent with the NetEvolve.HealthChecks.* conventions
  • Named registrations to publish to multiple Seq targets side by side
  • No Seq.Api dependency — just HttpClient via IHttpClientFactory

Installation

NuGet Package Manager

Install-Package NetEvolve.HealthPublishers.Seq

.NET CLI

dotnet add package NetEvolve.HealthPublishers.Seq

PackageReference

<PackageReference Include="NetEvolve.HealthPublishers.Seq" Version="x.x.x" />

Quick Start

using NetEvolve.HealthPublishers.Seq;

var builder = services.AddHealthChecks();

builder.AddSeqPublisher(options =>
{
    options.ServerUrl = new Uri("https://seq.example.com");
    options.SystemIdentifier = "checkout-service";
});

Usage

Basic Example

Register under the default name ("Default"), configured via code:

var builder = services.AddHealthChecks();

builder.AddSeqPublisher(options =>
{
    options.ServerUrl = new Uri("https://seq.example.com");
    options.SystemIdentifier = "checkout-service"; // Required, tags events alongside the machine name
    options.ApiKey = "<api-key>"; // Optional, sent as the X-Seq-ApiKey header
});

Advanced Example

Register multiple named Seq targets, each pushing the same health reports to a different server:

var builder = services.AddHealthChecks();

builder.AddSeqPublisher("Internal", options =>
{
    options.ServerUrl = new Uri("https://seq-internal.example.com");
    options.SystemIdentifier = "checkout-service";
});
builder.AddSeqPublisher("External", options =>
{
    options.ServerUrl = new Uri("https://seq-external.example.com");
    options.SystemIdentifier = "checkout-service";
});

Configuration

Code-based

builder.AddSeqPublisher(options =>
{
    options.ServerUrl = new Uri("https://seq.example.com");
    options.SystemIdentifier = "checkout-service"; // Required
    options.ApiKey = "<api-key>"; // Optional
});

appsettings.json-based

builder.AddSeqPublisher(); // reads the "Default" section below
{
  "HealthPublishers": {
    "Seq": {
      "Default": {
        "ServerUrl": "https://seq.example.com",
        "SystemIdentifier": "checkout-service",
        "ApiKey": "<api-key>"
      }
    }
  }
}

When using an explicit name, the section key must match: builder.AddSeqPublisher("Internal") reads HealthPublishers:Seq:Internal.

Requirements

  • .NET 8.0 or higher
  • A reachable Seq server (v2020.x or later; any version exposing /ingest/clef)

Documentation

For complete documentation, please visit the official documentation.

Contributing

Contributions are welcome! Please read the Contributing Guidelines before submitting a pull request.

Support

License

This project is licensed under the MIT License - see the LICENSE file for details.


Made with ❤️ by the NetEvolve Team Visit us at https://www.daily-devops.net for more information about our services and solutions.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  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.10.0 65 7/27/2026
1.0.0 62 7/26/2026