27 Aug 2020 . tech .
Setup Prometheus-Grafana Metrics With PM2 Clusters
7 mins Read

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.

PM2... more

29 Sep 2019 . tech .
Serving React With Nginx
9 mins Read

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.

Nginx... more

25 Jun 2018 . fixes .
make Utility: Missing Library Errors
2 mins Read

make is one of the most used utilities by developers worldwide. If you are a developer and have been compiling the entire code even with trivial single file changes, you need to look at this piece of awesomeness.

make determines automatically the parts of the program which require recompilation and issue commands to recompile them only. Not only is it... more