default.view.system.state.html Maven / Gradle / Ivy
@args sirius.web.health.Cluster cluster, sirius.kernel.health.metrics.Metrics metrics, boolean all
@extends(view.wondergem.template.html, title: ("[" + cluster.getClusterState() + "/" + cluster.getNodeState() + "] " + product + " - Status"))
@section(head) {
}
@section(breadcrumbs) {
System State
}
@pageHeader() {
System State @ctx.getNodeName()
}
@for(sirius.kernel.health.metrics.Metric m : metrics.getMetrics()) {
@if (all || m.getState() != sirius.kernel.health.metrics.MetricState.GRAY) {
}
}
@if (!cluster.getNodeInfos().isEmpty()) {
@heading() {
Cluster
}
@for(sirius.web.health.NodeInfo info : cluster.getNodeInfos()) {
@{ final sirius.web.health.NodeInfo finalInfo = info; }
@subHeading() {
@finalInfo.getName()
@finalInfo.getEndpoint()
}
@if (info.getPingFailures() > 0) {
}
@for(sirius.kernel.health.metrics.Metric m : info.getMetrics()) {
@if (all || m.getState() != sirius.kernel.health.metrics.MetricState.GRAY) {
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy