Hi, On 6/16/20 12:09 PM, Shivam Soni wrote: > I got an issue in Prometheus configure to java melody. > can anyone solve this? > plz check URL: > > https://github.com/prometheus/prometheus/issues/7404
I'm seeing a small but maybe relevant difference between your Prometheus config and your test case: The Prometheus config uses "localhost" while your test uses a hostname. This may not matter network-wise if your service is bound to both these addresses. However, it may matter HTTP-wise as these can be interpreted as different virtual hosts by the target web servers. I suggest trying to use the hostname instead of localhost in Prometheus. If that doesn't work either, it might be some more buried difference (e.g. headers), although that would sound like an uncommon reason for a 404 error. A tcpdump/wireshark comparison of both requests might help there. Kind regards, Christian -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/938b7e60-aa50-020a-c8a5-dc9cc4611839%40hoffmann-christian.info.

