Add NodeJS statistics - part 2 - memory usage

This commit is contained in:
Ben0it-T 2021-11-06 22:49:41 +01:00
parent 790a82c4b1
commit d04e9bbabd
3 changed files with 24 additions and 1 deletions

View file

@ -98,3 +98,15 @@ template(name='statistics')
tr
th {{_ 'Node_heap_number_of_detached_contexts'}}
td {{statistics.nodeHeapStats.numberOfDetachedContexts}}
tr
th {{_ 'Node_memory_usage_rss'}}
td {{bytesToSize statistics.nodeMemoryUsage.rss}}
tr
th {{_ 'Node_memory_usage_heap_total'}}
td {{bytesToSize statistics.nodeMemoryUsage.heapTotal}}
tr
th {{_ 'Node_memory_usage_heap_used'}}
td {{bytesToSize statistics.nodeMemoryUsage.heapUsed}}
tr
th {{_ 'Node_memory_usage_external'}}
td {{bytesToSize statistics.nodeMemoryUsage.external}}