go-health
go-health copied to clipboard
Library for enabling asynchronous health checks in your service
👋🏼 I just wanted to know the value of ping timeout for the redis healthcheck. Thank you!
In the Stop function I added: ```go h.active.setFalse() ``` This allows the checkers to go from Started to Stopped to Started again. Before the change, once stopped, the checkers couldn't...
When using go-health together with gin-gonic I'm finding it hard to format the JSON output from `NewJSONHandlerFunc()`. Would it be possible to update the signature of `NewJSONHandlerFunc()` to include some...
When a non-fatal check fails, the top level status is still "ok". Is the intent that you have to check each component for success in order to determine if the...
Hi, I would like to persist checkers state, so if some check was in the failed state after I restart service I would like to still be in a failed...
In many cases, we need to check remote server status, such as cpu usage percentage, memory usage percentage. I hope this project add this feature. thanks
I linted with golangci-lint run --enable-all and resolved issues that made sense.
There are cases where some of the fields are presented in the serialized State without meaningful value. For example if a component's status is ok there is still fields `first_failure_at`...
otherwise I need to write something ```go type grpcCon struct { conn *grpc.ClientConn } func (c *grpcCon) Close() error { return c.conn.Close() } func (c *grpcCon) LocalAddr() net.Addr { panic("not...
Removed the mutex from the sBool struct