Monitoring Jenkins

As per the Lab question i have added scrape config for jenkins under /etc/prometheus/prometheus/yml file, when tried to restart service prometheus URL responding as ‘502 Bad gateway’.
can you please help me to fix this ?

Hello @namratakumari043,
I’ve checked and it’s working fine as you see in the attached pics, can you please try again?

For this lab question, I have edited scrape config for jenkins under /etc/prometheus/prometheus.yml and restarted prometheus and website is responding with 502 Bad gateway

Can someone help me on this ?