File tree Expand file tree Collapse file tree 4 files changed +17
-21
lines changed
deps/rabbitmq_management/priv/www Expand file tree Collapse file tree 4 files changed +17
-21
lines changed Original file line number Diff line number Diff line change @@ -2007,12 +2007,6 @@ <h2>/api/nodes</h2>
20072007 Number of Erlang processes in use.
20082008 </ td >
20092009 </ tr >
2010- < tr >
2011- < td > < code > processors</ code > </ td >
2012- < td >
2013- Number of cores detected and usable by Erlang.
2014- </ td >
2015- </ tr >
20162010 < tr >
20172011 < td > < code > queue_index_journal_write_count</ code > </ td >
20182012 < td >
@@ -2083,6 +2077,12 @@ <h2>/api/nodes</h2>
20832077 Time since the Erlang VM started, in milliseconds.
20842078 </ td >
20852079 </ tr >
2080+ < tr >
2081+ < td > < code > processors</ code > </ td >
2082+ < td >
2083+ Number of logical CPU cores used by RabbitMQ.
2084+ </ td >
2085+ </ tr >
20862086 </ table >
20872087
20882088 < h2 > /api/nodes/(name)</ h2 >
Original file line number Diff line number Diff line change @@ -141,6 +141,7 @@ var ALL_COLUMNS =
141141 [ 'memory' , 'Memory' , true ] ,
142142 [ 'disk_space' , 'Disk space' , true ] ] ,
143143 'General' : [ [ 'uptime' , 'Uptime' , true ] ,
144+ [ 'cores' , 'Cores' , true ] ,
144145 [ 'info' , 'Info' , true ] ,
145146 [ 'reset_stats' , 'Reset stats' , true ] ] } } ;
146147
Original file line number Diff line number Diff line change 2323 < th> Uptime< / th>
2424 < td>< %= fmt_uptime (node .uptime ) % >< / td>
2525 < / tr>
26+ < tr>
27+ < th> Cores< / th>
28+ < td>< %= fmt_string (node .processors ) % >< / td>
29+ < / tr>
2630< % if (rabbit_versions_interesting) { % >
2731 < tr>
2832 < th> RabbitMQ Version< / th>
2933 < td>< %= fmt_rabbit_version (node .applications ) % >< / td>
3034 < / tr>
3135< % } % >
32- < tr>
33- < th> Type< / th>
34- < td>
35- < % if (node .type == ' disc' ) { % >
36- < abbr title= " Broker definitions are held on disc." > Disc< / abbr>
37- < % } else { % >
38- < abbr title= " Broker definitions are held in RAM. Messages will still be written to disc if necessary." > RAM < / abbr>
39- < % } % >
40- < / td>
41- < / tr>
4236 < tr>
4337 < th>
4438 < a href= " https://www.rabbitmq.com/configure.html" target= " _blank" > Config file< / a>
Original file line number Diff line number Diff line change 9999 < % if (show_column (' overview' , ' uptime' )) { % >
100100 < th> Uptime< / th>
101101 < % } % >
102+ < % if (show_column (' overview' , ' cores' )) { % >
103+ < th> Cores< / th>
104+ < % } % >
102105 < % if (show_column (' overview' , ' info' )) { % >
103106 < th> Info< / th>
104107 < % } % >
188191 < % if (show_column (' overview' , ' uptime' )) { % >
189192 < td>< span>< %= fmt_uptime (node .uptime ) % >< / span>< / td>
190193 < % } % >
194+ < % if (show_column (' overview' , ' cores' )) { % >
195+ < td>< span>< %= fmt_string (node .processors ) % >< / span>< / td>
196+ < % } % >
191197 < % if (show_column (' overview' , ' info' )) { % >
192198 < td>
193199 < % if (node .being_drained ) { % >
194200 < abbr class = " status-yellow" title= " Node was put under maintenance" > maintenance mode< / abbr>
195201 < % } % >
196202 < abbr title= " Message rates" >< %= fmt_string (node .rates_mode ) % >< / abbr>
197- < % if (node .type == ' disc' ) { % >
198- < abbr title= " Broker definitions are held on disc." > disc< / abbr>
199- < % } else { % >
200- < abbr title= " Broker definitions are held in RAM. Messages will still be written to disc if necessary." > RAM < / abbr>
201- < % } % >
202203 < %= fmt_plugins_small (node) % >
203204 < abbr title= " Memory calculation strategy" >< %= fmt_string (node .mem_calculation_strategy ) % >< / abbr>
204205 < / td>
You can’t perform that action at this time.
0 commit comments