Closed JingangLi closed 5 years ago
Same issue on master instances with alot of jobs. Jenkins: 2.249.3 Prometheus Plugin: 2.0.8
I don't understand why this thread is closed when a bunch of people still facing the same issue.... Jenkins: 2.263.2 (hosted on AWS EC2) Prometheus Plugin: 2.0.8
every time I make a request from
curl -v https://JenkinsURL/prometheus/
OR
curl -v https://JenkinsURL/prometheus
I get blank page response
in jenkins logs it says
Jan 24, 2021 7:57:59 AM INFO hudson.TcpSlaveAgentListener$ConnectionHandler run
Connection #656,917 failed: java.io.EOFException
however, I have one more Jenkins in the AWS EKS with the same plugin, I get the response with data.
NOTE: it was working fine on both Jenkins When I have implemented it.
@markyjackson-taulia
@aamirmalek I assume it was closed because it was fixed in 2.0.7, but it was broke again in 2.0.8. I also experienced blank page with jenkins 2.263.3 and plugin 2.0.8 (with some jobs that have over 15k long build history, probably related as discribed by previous comments). once downgraded to 2.0.7 it was working. looks like this https://github.com/jenkinsci/prometheus-plugin/pull/177#issuecomment-713606432
fyi @markyjackson-taulia
go to jenkins admin->plugin management-> prometheus do some changes e.g. check uncheck box and save refresh url {jenkins}/prometheus/ now metrics should be available go back to plugin management->prometheus and rollback changes save (works with prometheus metrics version 2.0.0)
Hi can anyone help me. Jenkins ui with /prometheus/ as end point retured to blank page In prometheus targets Jenkins in Up my jenkins version 2.426.2 prometheus 2.5.1 java 11 version
how to get jenkins metrics?
Similar to issue #208 , Might need to upgrade the jenkins plugin version.
Thankyou Mohan for connecting.
Still facing the same issue with blank page
What is the prometheus metrics plug-in version that you have installed ?
prometheus plugin 2.5.1 does it supports java 11 version with jenkins 2.426 version?
Hi,
I try to use Prometheus plugin in our jenkins setup. As the whole Jenkins is setup by another team, and I just install Prometheus plugin, so I have limited control on the system.
My prometheus plugin version is 2.0.0, metrics plugin is 4.0.2.2 and my jenkins is Jenkins 2.89.2. And now the prometheus API just return blank page. I think the problem is different with other tickets here. As I try to setup the log with org.jenkinsci.plugins.prometheus. Any thing prints out, so I guess the prometheus plugin doesn't execute.
Do you have some idea I can trouble shooting this problem.
BTW the metrics API works well when I generete Key for access it.
Rgds, Jingang Li