Process Exporter for Prometheus server. Used for monit-graphana.
https://github.com/ncabatoff/process-exporter
Added a configuration file for finding process names based on users!
So, the python processes will appear as
"<username>:python: <script>":
{groupname="sagarwal:python: test.py",state="Running"}
And any other process as
<username>:<processBaseName> e.g:
groupname="sagarwal:process-exporter"
sudo nohup ./process-exporter -web.listen-address ":<port number>" -config.path config.yml 2>&1 1>& /dev/null < /dev/null &