Add some documentation.
This commit is contained in:
parent
795c3ed817
commit
02b2c903b2
|
|
@ -251,6 +251,28 @@ HELP = {
|
|||
'plugins' :
|
||||
'Note that only plugins which are both explicitly enabled and running are shown here.',
|
||||
|
||||
'io-operations':
|
||||
'Rate of I/O operations. Only operations performed by the message \
|
||||
persister are shown here (e.g. metadata changes in Mnesia or writes \
|
||||
to the log files are not shown).\
|
||||
<dl>\
|
||||
<dt>Read</dt>\
|
||||
<dd>Rate at which data is read from the disk.</dd>\
|
||||
<dt>Write</dt>\
|
||||
<dd>Rate at which data is written to the disk.</dd>\
|
||||
<dt>Seek</dt>\
|
||||
<dd>Rate at which the broker switches position while reading or \
|
||||
writing to disk.</dd>\
|
||||
<dt>Sync</dt>\
|
||||
<dd>Rate at which the broker invokes <code>fsync()</code> to ensure \
|
||||
data is flushed to disk.</dd>\
|
||||
<dt>Reopen</dt>\
|
||||
<dd>Rate at which the broker recycles file handles in order to support \
|
||||
more queues than it has file handles. If this operation is occurring \
|
||||
frequently you may get a performance boost from increasing the number \
|
||||
of file handles available.</dd>\
|
||||
</dl>',
|
||||
|
||||
'foo': 'foo' // No comma.
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -145,7 +145,7 @@
|
|||
<% } else if (node.os_pid == undefined) { %>
|
||||
<p class="warning">Node statistics not available</p>
|
||||
<% } else { %>
|
||||
<%= rates_chart_or_text('persister-stats-count', node, [['Read', 'persister_read_count'], ['Write', 'persister_write_count'], ['Seek', 'persister_seek_count'], ['Sync', 'persister_sync_count'], ['Reopen', 'persister_reopen_count']], fmt_rate, fmt_rate_axis, true, 'Operations') %>
|
||||
<%= rates_chart_or_text('persister-stats-count', node, [['Read', 'persister_read_count'], ['Write', 'persister_write_count'], ['Seek', 'persister_seek_count'], ['Sync', 'persister_sync_count'], ['Reopen', 'persister_reopen_count']], fmt_rate, fmt_rate_axis, true, 'Operations', 'io-operations') %>
|
||||
|
||||
<%= rates_chart_or_text('persister-stats-bytes', node, [['Read', 'persister_read_bytes'], ['Write', 'persister_write_bytes']], fmt_rate_bytes, fmt_rate_bytes_axis, true, 'Data rates') %>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue