HealthCheckPlus 2.0.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package HealthCheckPlus --version 2.0.0
NuGet\Install-Package HealthCheckPlus -Version 2.0.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="HealthCheckPlus" Version="2.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add HealthCheckPlus --version 2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: HealthCheckPlus, 2.0.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.
// Install HealthCheckPlus as a Cake Addin #addin nuget:?package=HealthCheckPlus&version=2.0.0 // Install HealthCheckPlus as a Cake Tool #tool nuget:?package=HealthCheckPlus&version=2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Welcome to HealthCheckPlus
HealthCheck with individual delay and interval and interval policy for unhealthy/degraded status.
HealthCheckPlus was developed in c# with the .Net6, .Net7 and .Net8 target frameworks.
What's new in the latest version
V2.0.0
- Complete refactoring to only extend native functionalities without changing their behavior when the new features are not used.
Features
- Command to Change to unhealthy/degraded any HealthCheck by forcing check by interval policy
- Command to retrieve the last result of each HealthCheck kept in cache
- Optional Delay and interval for each HealthCheck
- Policy for Healthy while keeping results cached (default)
- Policy for degraded (Optional)
- Policy for unhealthy (Optional)
- Register an external health check (package import) and associate delay, interval and individual policy rules.
- Policy background service for updating and running HealthChecks
- Optional set delay and interval are used in the background update service parameters when defined and HealthCheck is null for delay and interval
- Integration with registered publishers with the interface IHealthCheckPublisher with extra filters:
- Number of counts idle to publish.
- Run publish only when the report has a status change in one of its entries.
- Response templates with small/full details in "application/json" ContentType
- HealthCheckPlusOptions.WriteShortDetails
- HealthCheckPlusOptions.WriteShortDetailsPlus (with extra fields : cache source and reference date of last run)
- HealthCheckPlusOptions.WriteDetailsWithoutException
- HealthCheckPlusOptions.WriteDetailsWithoutExceptionPlus (with extra fields : cache source and reference date of last run)
- HealthCheckPlusOptions.WriteDetailsWithException
- HealthCheckPlusOptions.WriteDetailsWithExceptionPlus (with extra fields : cache source and reference date of last run)
- Simple and clear fluent syntax extending the native features of healt check
License
Copyright 2023 @ Fernando Cerqueira
HealthCheckPlus is licensed under the MIT license. See LICENSE.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- Microsoft.AspNetCore.Diagnostics.HealthChecks (>= 2.2.0)
- Microsoft.AspNetCore.Http.Abstractions (>= 2.2.0)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 8.0.2)
- Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions (>= 8.0.2)
- Microsoft.Extensions.Options (>= 8.0.2)
- System.Text.Encodings.Web (>= 8.0.0)
-
net7.0
- Microsoft.AspNetCore.Diagnostics.HealthChecks (>= 2.2.0)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 8.0.2)
-
net8.0
- Microsoft.AspNetCore.Diagnostics.HealthChecks (>= 2.2.0)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 8.0.2)
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 | |
---|---|---|---|
2.0.1 | 336 | 2/26/2024 | |
2.0.0 | 131 | 2/24/2024 | |
2.0.0-beta2 | 132 | 2/20/2024 | |
2.0.0-beta1 | 105 | 2/19/2024 | |
2.0.0-beta | 94 | 2/19/2024 | |
1.0.5 | 155 | 1/29/2024 | |
1.0.4 | 272 | 11/14/2023 | |
1.0.3 | 280 | 9/28/2023 | |
1.0.2 | 1,532 | 2/8/2023 | |
1.0.1 | 290 | 2/6/2023 | |
1.0.0 | 281 | 2/6/2023 |