I want to use cluster module in my node application. I am also using Prometheus in my application.
In the documentation, I read that with the cluster module a new process is spawned. Will it also create a new instance of cached node modules? Basically, I want to use the same registry of Prometheus so the scraper can get the data across all processes.
If a new object of the module(node module) will be created for the child process, how can I aggregate the metrics across all the processes and scrape that aggregated metric?