alexliesenfeld / health

A simple and flexible health check library for Go.
MIT License
774 stars 38 forks source link

Add goroutine count check #38

Closed alexliesenfeld closed 1 year ago

alexliesenfeld commented 1 year ago

It would be useful to have a small library of commonly used health checks. In the scope of this issue, a goroutine count check should be implemented (e.g. calling an count := runtime.NumGoroutine() and se if it is above a throeshold.

A few constraints to keep things clean and simple:

Should you have questions or require help, please join our discord chat room.

BulkBeing commented 1 year ago

@alexliesenfeld May I implement this one