Add healthcheck widget

This commit is contained in:
Rommel Kott authored and shamoon committed 2023-02-19 23:31:33 -08:00
1 parent 0e2b474540
commit 5def5dd508
5 files changed
+87

No files matched your search

+18
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;