I'm facing below exception while migrating to prometheus. Could anyone pls help here?
Exception:
218004:31:17.818 [PushGatewayFactory.PushGatewayTaskScheduler-1] ERROR c.e.r.b.p.adaptor.PushGatewayFactory - Unable to push metrics to Prometheus Pushgateway
2181java.io.IOException: Response code from
http://ingress.sherlock-service.qa.ebay.com/api/pushgateway/v1/metrics/job/testjob was 400
2182
at io.prometheus.client.exporter.PushGateway.doRequest(PushGateway.java:304)
2183
at io.prometheus.client.exporter.PushGateway.pushAdd(PushGateway.java:178)
2184
at com.ebay.raptor.batch.pushgateway.adaptor.PushGatewayFactory.push(PushGatewayFactory.java:106)
2185
at com.ebay.raptor.batch.pushgateway.adaptor.PushGatewayFactory.access$100(PushGatewayFactory.java:21)
2186
at com.ebay.raptor.batch.pushgateway.adaptor.PushGatewayFactory$2.run(PushGatewayFactory.java:77)
2187
at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
2188
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
2189
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
2190
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
2191
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
2192
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
2193
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
2194
at java.lang.Thread.run(Thread.java:750)
219504:31: