pankleks/pm2-health

How can I only monitor the specified id?

Opened this issue · 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
    }
}