Is your feature request related to a problem? Please describe.
It was possible to identify through railway.app metrics that we might have been facing a memory leak due to misusage of global variables. To better investigate that, we could leverage better instrumentation.
Describe the solution you'd like
Have a dashboard on Grafana to monitor GC, CPU, and memory. To do that, we need to instrument our application to register metrics and push to Prometheus.
Is your feature request related to a problem? Please describe. It was possible to identify through railway.app metrics that we might have been facing a memory leak due to misusage of global variables. To better investigate that, we could leverage better instrumentation.
Describe the solution you'd like Have a dashboard on Grafana to monitor GC, CPU, and memory. To do that, we need to instrument our application to register metrics and push to Prometheus.
We can use prom-client to do so.