pm2-health icon indicating copy to clipboard operation
pm2-health copied to clipboard

How can I only monitor the specified id?

Open zeteticl opened this issue 3 years ago • 0 comments

If i running app 0,1,2 and I wish to monitor only id 0, what should I do? And I want to send email only when there is a specific error in the log, such as connection timed out.

I try below But not useful. Thankyou!

"metric": {
    "tg.line": {
        "target": 1,
        "op": ">=",
        "exclude": true
    }
}

zeteticl avatar Feb 24 '22 04:02 zeteticl