Support --sort on `pm2 monit`
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 43.3k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
What's going wrong?
Processes when running pm2 monit are always sorted alphabetically by name.
When running pm2 list, we can pass the --sort flag. We should also be able to do this when running pm2 monit.
How could we reproduce this issue?
Run pm2 monit when a group of processes are running
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the pm2 monit entry point and the existing --sort handling for pm2 list. Compare how each command orders processes, then verify that pm2 monit --sort applies the requested ordering while running with a group of processes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- cli, observability
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100