{"repo":"AugustHome/server-health","free":true,"listed":false,"github":"https://github.com/AugustHome/server-health","clone":"git clone https://github.com/AugustHome/server-health.git","description":"Library to provide server health information via a HTTP server endpoint for express, restify, hapi, and vanilla http","language":"JavaScript","stars":16,"topics":["nodejs","health-check","server","monitoring","server-health","restify","hapi","express"],"license":"Apache-2.0","category":"analytics","readme_excerpt":"Server Health Allows to easily add a /health endpoint to a Fastify, Restify, Express, Hapi or native node http server returning vital information about a service. Example output Usage Adding the /health endpoint to a restify server See example/server.js for a complete example. Also check the tests for how to use this with hapi and express. For frameworks other than restify (default) specify the used framework: Querying from the command line After adding the server info health endpoint to a service you can do a quick check on its status using curl and jq : Filtering the response directly Instead of filtering the whole response on the client the library also supports filtering server side by specifying a \"filter\" query string parameter. Multiple properties can be queried by separating them by comma: filter=status,env.nodeEnv Standalone Node Http Health Check Server For services that do not have an existing Restify, Express, or Hapi Server, you can create a native Node HTTP Server that only has one route, that also provides the same health checks as Restify, Express, and Hapi servers.","default_branch":null,"files":null,"tree":[],"storefront":"/r/AugustHome","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/AugustHome/server-health/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}