All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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()
    @if (all) { Less } else { More }
    } @for(sirius.kernel.health.metrics.Metric m : metrics.getMetrics()) { @if (all || m.getState() != sirius.kernel.health.metrics.MetricState.GRAY) { } }
    Uptime @NLS.convertDuration(sirius.kernel.Sirius.getUptimeInMilliseconds(), true, false)
    @m.getName() @m.getValueAsString()
    @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) { } }
    Uptime @info.getUptime()
    Ping Failures @info.getPingFailures()
    @m.getName() @m.getValueAsString()
    } }




    © 2015 - 2025 Weber Informatics LLC | Privacy Policy