Feature: support multiple checks for healthchecks widget (#2580)

* Change healthchecks online/offline with the original up/down

* Add group statistics to healthcheck widget

* Update healthchecks docs

---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
This commit is contained in:
Metin Yaziciandshamoon authored and GitHub committed 2024-01-07 09:17:07 -08:00
1 parent 50c989e36a
commit 1103df2b64
5 files changed
+51 -13

No files matched your search

+6
View File
@@ -397,6 +397,9 @@ export function cleanServiceGroups(groups) {
// glances, customapi, iframe
refreshInterval,
// healthchecks
uuid,
// iframe
allowFullscreen,
allowPolicy,
@@ -536,6 +539,9 @@ export function cleanServiceGroups(groups) {
if (previousDays) cleanedService.widget.previousDays = previousDays;
if (showTime) cleanedService.widget.showTime = showTime;
}
if (type === "healthchecks") {
if (uuid !== undefined) cleanedService.widget.uuid = uuid;
}
}
return cleanedService;