Skip to content

Commit 54a7f5e

Browse files
author
hugh.hyj
committed
feat: show external memory trend
1 parent c064117 commit 54a7f5e

File tree

5 files changed

+6
-3
lines changed

5 files changed

+6
-3
lines changed

app/public/js/app.3553e238.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

app/public/js/app.d755df01.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/service/process.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@ class ProcessService extends Service {
2424
let limit = 0;
2525
switch (type) {
2626
case 'heapTrend':
27-
keys = ['heap_total', 'heap_used', 'rss'];
27+
keys = [
28+
'heap_total', 'heap_used', 'rss',
29+
{ key: 'amount_of_external_allocated_memory', label: 'external' },
30+
];
2831
limit = latestLog.heap_limit;
2932
break;
3033
case 'cpuTrend':

app/view/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/public/favicon.ico><title>Easy-Monitor</title><link href=/public/css/app.5f349d16.css rel=preload as=style><link href=/public/css/chunk-vendors.1bc8cbb4.css rel=preload as=style><link href=/public/js/app.3553e238.js rel=preload as=script><link href=/public/js/chunk-vendors.8e038e6d.js rel=preload as=script><link href=/public/css/chunk-vendors.1bc8cbb4.css rel=stylesheet><link href=/public/css/app.5f349d16.css rel=stylesheet></head><body><noscript><strong>We're sorry but xprofiler doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/public/js/chunk-vendors.8e038e6d.js></script><script src=/public/js/app.3553e238.js></script></body></html>
1+
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/public/favicon.ico><title>Easy-Monitor</title><link href=/public/css/app.805d9178.css rel=preload as=style><link href=/public/css/chunk-vendors.1bc8cbb4.css rel=preload as=style><link href=/public/js/app.d755df01.js rel=preload as=script><link href=/public/js/chunk-vendors.8e038e6d.js rel=preload as=script><link href=/public/css/chunk-vendors.1bc8cbb4.css rel=stylesheet><link href=/public/css/app.805d9178.css rel=stylesheet></head><body><noscript><strong>We're sorry but xprofiler doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/public/js/chunk-vendors.8e038e6d.js></script><script src=/public/js/app.d755df01.js></script></body></html>

0 commit comments

Comments
 (0)