GitXplorerGitXplorer
n

worker-service-health-checker

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
072915a55563dba49858fb3353e5e40d2d4f97ff

tcp healthchecker

committed a year ago
Verified
a605701b5dc941cbe83cd4d2b7f394091ee54851

Update WorkerServiceHealthChecker.csproj

nnevind7 committed a year ago
Verified
30a0ee7b50442a83752f8e2b0623b664d257f478

Update README.md

nnevind7 committed a year ago
Unverified
4a73212a3528379986afb636c8aff7525664ce41

Fix readme location

committed a year ago
Unverified
430257d8907f24cc08b217c0831d74cd4cf985f8

init

committed a year ago

README

The README file for this repository.

wip

Worker services health checks

Provides a handy extension method to easily add health checks to your worker services

services.AddWorkerServiceHealthChecker(opt =>
    {
       opt.Port = 1234; // default = 5000
       opt.Endpoint = "healthz"; 
       opt.UseHttps = false,
       /*opt.Tcp = true; TCP health checker*/
       opt.SilentMode = true; // silence exceptions if service fails to start
    });

services.AddHealthChecks().AddCheck<MyHealthCheck>("MyHealthCheck");