Sha256: 1f40c3a29f8cbfa36e5dac5508e9091942d173c1968d01adc50aa2e28f31781c

Contents?: true

Size: 1.11 KB

Versions: 2

Compression:

Stored size: 1.11 KB

Contents

h2.uk-text-success <i class="uk-icon-#{@menu_icons[@current_item]} uk-icon-medium "></i>&nbsp;&nbsp;Processes configured in Splash

div.uk-width-medium-1-1
  div.uk-panel.uk-panel-box
    span.uk-text-large.uk-text-bold List of processes monitored
    br
    table.uk-table.uk-table-hover.uk-table-striped
      thead
        tr
          th Process record
          th Patterns
          th Status
        tbody
          - @data.each do |process|
            tr
              td <b>Process</b> : #{process[:process]}
              td
                span.uk-text-bold Patterns
                ul
                  - process[:patterns].each do |pattern|
                    li= pattern
              td
                - if @result[process[:process]][:status] == :inexistant
                  div.uk-badge.uk-badge-danger not running
                - if @result[process[:process]][:status] == :running
                  div.uk-badge.uk-badge-success running
                  ul
                    li <b>CPU usage</b> : #{@result[process[:process]][:cpu]}
                    li <b>MEM usage</b> : #{@result[process[:process]][:mem]}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
prometheus-splash-0.8.3 lib/splash/webadmin/portal/views/processes.slim
prometheus-splash-0.8.2 lib/splash/webadmin/portal/views/processes.slim