HC = Healthchecks.io
https://healthchecks.io/docs/api/
Spigot plugin:
PURPOSE: send heartbeats to healthchecks.io, a SaaS service monitoring service that works by receiving HTTP GET requests.
Standalone server:
PURPOSE: safeguard management keys so they don't have to be distributed in the jars
https://healthchecks.io/docs/api/
Spigot plugin:
PURPOSE: send heartbeats to healthchecks.io, a SaaS service monitoring service that works by receiving HTTP GET requests.
- Provide a single config option: key. This corresponds with the HC check endpoint key.
- Every 15 seconds, send a GET request to the HC check endpoint (https://hc-ping.com/key-that-is-in-the-config).
- When a GRACEFUL STOP is detected (/stop, /restart) sent by an authorized player or console, send a request to the standalone server with the HC check endpoint key and pause=true
- When the plugin loads, send a request to the standalone server with the HC check endpoint key and pause=false
Standalone server:
PURPOSE: safeguard management keys so they don't have to be distributed in the jars
- Holds HC management api keys safely
- Verifies all provided HC keys exist with the management API's LIST feature.
- Receives requests that are paired with the HC check key & a boolean to set the pause state
- Once the request is received and verified, pause the HC check over the management API
