Monivus.HealthChecks
0.1.8
dotnet add package Monivus.HealthChecks --version 0.1.8
NuGet\Install-Package Monivus.HealthChecks -Version 0.1.8
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="Monivus.HealthChecks" Version="0.1.8" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Monivus.HealthChecks" Version="0.1.8" />
<PackageReference Include="Monivus.HealthChecks" />
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 Monivus.HealthChecks --version 0.1.8
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Monivus.HealthChecks, 0.1.8"
#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 Monivus.HealthChecks@0.1.8
#: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=Monivus.HealthChecks&version=0.1.8
#tool nuget:?package=Monivus.HealthChecks&version=0.1.8
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Monivus.HealthChecks
Lightweight health checks for ASP.NET Core with a clean JSON response and optional aggregation of remote endpoints.
- Targets: net8.0, net9.0
- NuGet: Monivus.HealthChecks
Install
dotnet add package Monivus.HealthChecks
Quick Start
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddHealthChecks()
.AddSystemEntry()
.AddSqlServerEntry()
.AddRedisEntry()
.AddUrlEntry("Google", url: "https://www.google.com");
var app = builder.Build();
// Default JSON endpoint at /health
app.UseMonivusHealthChecks("/health");
// Optional aggregated endpoint merging local + remote
app.UseMonivusAggregatedHealthChecks(options =>
{
options.AddEndpoint("https://service-a.example.com/health", name: "service-a");
options.AddEndpoint("https://service-b.example.com/health", name: "service-b");
}, path: "/healthz");
app.Run();
Configuration (appsettings.json)
{
"ConnectionStrings": {
"DefaultConnection": "Server=.;Database=MyDb;Trusted_Connection=True;"
},
"Monivus": {
"SqlServer": {
"ConnectionStringOrName": "DefaultConnection",
"CommandText": "SELECT 1",
"CommandTimeout": 15
},
"Redis": {
"ConnectionString": "localhost:6379",
"SlowPingThresholdMilliseconds": 200
},
"Urls": {
"Google": { "Url": "https://www.google.com", "RequestTimeout": "00:00:05" }
},
"System": {
"MemoryUsageThresholdPercent": 85
}
}
}
Notes
UseMonivusHealthChecksemits a compact JSON with overall status, timing, trace ID, and entries.- Aggregation prefixes remote entries with
{remoteName}|plus a per-remote summary entry.
| Product | Versions 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 was computed. 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 was computed. 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.
-
net8.0
- Microsoft.AspNetCore.Diagnostics.HealthChecks (>= 2.2.0)
- Microsoft.AspNetCore.Http.Abstractions (>= 2.3.0)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 8.0.0)
- Microsoft.Extensions.Http (>= 8.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Monivus.HealthChecks:
| Package | Downloads |
|---|---|
|
Monivus.HealthChecks.Exporter
Background service exporting Monivus health reports to a central endpoint. |
GitHub repositories
This package is not used by any popular GitHub repositories.