I recently had to setup metrics monitoring for a node.js application that I have been running using PM2 clusters. This article provides an approach to do the same and I believe should be helpful to anyone wanting to collect metrics and setup grafana dashboard for their application which uses PM2 as a process manager and runs in cluster mode.
Once we get used to serving static content with Nginx, it is hard to notice the subtle changes we might require to serve React static content which uses react-router. I faced a similar bug when only the index page of iit-techambit.in was being exposed and rest pages were to be found nowhere unless redirected from the home page itself.
The default port for SSH is blocked in the campus and it forces one to use a lot of workarounds to do simple SSH tasks; one such task is exposing a PC inside campus network for SSH by a PC outside the campus network.
I recently had to do the hardwork and this article shows the steps I used for... more