1.0.3 • Published 5 years ago

health-monitor-endpoint v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

Health Monitor Endpoint

Health Monitor Endpoint for Express

Allows you to monitor applications by making requests to an express endpoint. Data includes the most recent error message and stack details. Installation, usage, and endpoint details are below.

Installation

npm install health-monitor-endpoint --save

Usage

require('health-monitor-endpoint')

Just require the module and it will do the rest! In order to test the endpoint go to the follow url and switch out localhost to your server's ip address or domain name depending on your config.

http://localhost:18080/healthcheck

Endpoints

Health Check

      URL : /healthcheck

      Port : 18080

      Method : GET

           Success Response

                       Code : 200 OK

           Error Response

                       Code : 500 Internal Server Error

                       Content : {"errorMessage": "message of error", errorStack: "complete error stack"}

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago