HealthChecks.ServiceDiscovery.Client 8.0.0

dotnet add package HealthChecks.ServiceDiscovery.Client --version 8.0.0
NuGet\Install-Package HealthChecks.ServiceDiscovery.Client -Version 8.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="HealthChecks.ServiceDiscovery.Client" Version="8.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add HealthChecks.ServiceDiscovery.Client --version 8.0.0
#r "nuget: HealthChecks.ServiceDiscovery.Client, 8.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 HealthChecks.ServiceDiscovery.Client as a Cake Addin
#addin nuget:?package=HealthChecks.ServiceDiscovery.Client&version=8.0.0

// Install HealthChecks.ServiceDiscovery.Client as a Cake Tool
#tool nuget:?package=HealthChecks.ServiceDiscovery.Client&version=8.0.0

Health Checks Service Discovery for Client


This package was developed to help create a service discovery for health checks endpoints.

The intention is to help in this implementation process by building a panel displaying all health checks of existing applications.

Installing the extension.

Installation is simple and is carried out using the package manager, just search for the name "HealthChecks.ServiceDiscovery.Client " and choose which version best suits your needs.

Configure.

To implement the client, simply keep this piece of code in the program. A call to the "AddHealthChecksServiceDiscovery" .

using HealthChecks.ServiceDiscovery.Client.Setup;

var builder = WebApplication.CreateBuilder(args);
...
builder.Services.AddHealthChecksServiceDiscovery();
...
var app = builder.Build();
app.Run();

This package has some configuration that can be carried out either in the "appSetting.config" configuration file or through implementation via "C#"".

Samples:

Json (AppSetting.config)

"HealthChecksServiceDiscovery": {
"InternalApiKey": "2D38A26928B0",
"Server": "https://healthcheckservicediscovery:8080",
"EvaluationTimeInSeconds": 60,
"HealthCheck": {
  "Name": "ClientWebAPI",
  "EndPoint": "https://clientwebapi/health/readiness"
}}

C#

builder.Services.AddHealthChecksServiceDiscovery(config => {
config.Server = "https://healthcheckservicediscovery:8080";
config.EvaluationTimeInSeconds = 60;
config.InternalApiKey = "2D38A26928B0";
config.HealthCheck.Name = "ClientWebAPI";
config.HealthCheck.EndPoint = "https://clientwebapi/health/readiness";});

If you think has been helpful to your work, please consider making a small donation to support continued development.

It may be the equivalent of a coffee ☕, but it makes a huge difference on the other side of the screen.

Provider Link QR Code
Paypal alt text alt text

If you are Brazilian, you can donate through pix.

Key QR Code
alt text alt text

Your contribution helps ensure that I can continue to improve and support the extension, making it even more useful to the community.

Thank you in advance for considering supporting this project. Your generosity makes all the difference!

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. 
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
8.0.0 87 3/18/2024