adding 'restart_time' information about a process in ping endpoint if LOG_LEVEL=DEBUG

This commit is contained in:
Julien Neuhart
2019-08-21 15:28:34 +02:00
parent 14ef3cf07c
commit a1b34d5e7b
3 changed files with 14 additions and 9 deletions

View File

@@ -18,20 +18,22 @@ For instance:
{
"name": "google-chrome-stable",
"pm2_env": {
"status": "online"
"status": "online",
"restart_time": 0
},
"monit": {
"memory": 73826304,
"memory": 72294400,
"cpu": 0
}
},
{
"name": "unoconv",
"pm2_env": {
"status": "online"
"status": "online",
"restart_time": 0
},
"monit": {
"memory": 70914048,
"memory": 71000064,
"cpu": 0
}
}