Initially we had single node application and we used Prometheus where we set metrics path url to our single node application like this:
- job_name: 'spring-actuator'
metrics_path: '/prometheus'
scrape_interval: 5s
For now we switched to the cloud application and if we set load balancer path - it will use different node each time so we will see some kind of mess. Is there way to aggregate metrics from the cluster using prometheus?