Skip to content

onlinecity/ocmg-go-health

Folders and files

NameName
Last commit message
Last commit date

Latest commit

94dd472 · Dec 11, 2019

History

10 Commits
May 25, 2019
May 5, 2019
May 25, 2019
May 25, 2019
May 25, 2019
May 25, 2019
Dec 10, 2019
May 5, 2019
Dec 10, 2019
May 25, 2019
May 25, 2019
May 5, 2019

Repository files navigation

OC RPC Health Checker – in Go

This is just a small and reasonably self contained tool to check the healthz endpoint of a OC RPC service.

Unfortunately it depends on ZeroMQ's c-library since they are not done with their pure Go solution yet, so both an alpine and a debian version is built.

You can find the latest binaries on the release page.

Usage

Example for datastore (port 7246): ./healthz --endpoint=tcp://localhost:7246

Other options

$ ./healthz -h
Usage of ./healthz:
  -endpoint string
    	where to connect (default "tcp://localhost:7200")
  -retries uint
    	how many retries (default 3)
  -timeout uint
    	timeout in ms (default 2000)