Add healthcheck widget

This commit is contained in:
Rommel Kott 2023-02-19 02:31:57 -06:00 committed by shamoon
parent 0e2b474540
commit 5def5dd508
5 changed files with 87 additions and 0 deletions

View file

@ -0,0 +1,18 @@
import credentialedProxyHandler from "utils/proxy/handlers/credentialed";
const widget = {
api: "https://healthchecks.io/api/v2/{endpoint}/{uuid}",
proxyHandler: credentialedProxyHandler,
mappings: {
checks: {
endpoint: "checks",
validate: [
"status",
"last_ping",
]
},
},
};
export default widget;