Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
package cloudcp
import (
"net/url"
"strings"
)
func buildCPURL(baseURL, path string, query url.Values) string {
base := strings.TrimSpace(baseURL)
if base == "" {
return path
}
parsed, err := url.Parse(base)
if err != nil {
return path
}
parsed.Path = strings.TrimRight(parsed.Path, "/") + path
parsed.RawQuery = query.Encode()
return parsed.String()
}