Blame view
lib/matrix.js
709 Bytes
cd4feda87
|
1 2 3 4 5 |
const os = require('os'); // const config = require('komodo-sdk/config'); module.exports = { pid: process.pid, |
352496124
|
6 |
ts: new Date(), |
cd4feda87
|
7 |
start_time: new Date(), |
352496124
|
8 9 |
start_time_from_now: null, uptime_secs: process.uptime(), |
cd4feda87
|
10 11 12 13 |
hostname: os.hostname(), loadavg: os.loadavg(), workdir: process.cwd(), memory_usage: process.memoryUsage(), |
1e4359f18
|
14 |
nodejs_versions: process.versions, |
b403448ad
|
15 16 17 18 19 20 |
core: { received: 0, sent: 0, sent_failed: 0, last_error: null, }, |
cd4feda87
|
21 |
callback_sender: { |
b403448ad
|
22 23 24 25 |
sent: 0, sent_failed: 0, sent_using_get: 0, sent_using_post: 0, |
dc2d0f90e
|
26 |
last_error: null, |
e7f5d2a50
|
27 28 |
active_count: 0, active_sending: {}, |
cd4feda87
|
29 30 |
}, }; |