I am trying to integrate prom client into a cluster-enabled project. Unfortunately, I don't get any response from the Aggregator endpoint. I do get responses from the "/metrics" from the worker nodes, but when I hit the "/cluster_metrics" I get an error saying "Operation Timed out".
I would like to understand how the aggregator gets the metrics from the works, This might help me understand if I am doing and mistakes.
Master Server

Worker Server - Already runs an HTTP server, therefore created a handler.

Error

I am trying to integrate prom client into a cluster-enabled project. Unfortunately, I don't get any response from the Aggregator endpoint. I do get responses from the "/metrics" from the worker nodes, but when I hit the "/cluster_metrics" I get an error saying "Operation Timed out".
I would like to understand how the aggregator gets the metrics from the works, This might help me understand if I am doing and mistakes.
Master Server
Worker Server - Already runs an HTTP server, therefore created a handler.
Error