8000 GitHub - sdboyer/grpchc: Standard gRPC health checks from the CLI
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

sdboyer/grpchc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

grpchc

The simplest possible implementation of standard gRPC healthchecking.

Installation

go get -u github.com/sdboyer/grpchc

Usage

Point it at the gRPC service you want to healthcheck:

grpchc localhost:3000

grpchc will attempt to connect and perform a single healthcheck query. If the service responds with anything other than SERVING (1), or does not respond within a timeout of 2 seconds, grpchc will exit 1.

You can also optionally specify a service name:

grpchc -svcname package_names.ServiceName localhost:3000

NOTE: TLS connections are not currently supported.

About

Standard gRPC health checks from the CLI

Resources

License

Stars

Watchers

Forks

Packages

No packages published
0