question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I installed the 1.1.1 version of Prometheus metrics plugin in Jenkins and restarted. It doesn’t work though:

curl -I https://myjenkins.com/prometheus
HTTP/1.1 302 Found
...

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:7
  • Comments:10 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
mmuthcommented, Jul 20, 2018

We have more or less the same issue here. I just tried to find something out:

I noticed that when I restart Jenkins and load the Prometheus endpoint the very first request needs very long (and the Thread dump looks similar to yours, @jasooonko )… but if I wait long enough, the metrics will show up and seem to be stable from then on.

At first, I initially loaded the endpoint twice, after the first request seem to need so long. I was just not patient - and if I do this, nothing won’t appear anymore. Then i only get the empty response forever, like you.

Well in a regular environment, where Prometheus scrapes regularly in a short interval, it might be similar to my initial fail when loading and loading again… so I have not found any solution yet, but I’d like to share my observation with you…

0reactions
markyjackson-tauliacommented, Jun 6, 2019

@kunal-kannav can you provide your config and screen shots

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is another word for "doesn't work"?
What is another word for doesn't work? Adjective. Not physically functioning or working. unusable · inoperable · broken · defective.
Read more >
Maoli - Whiskey Doesn't Work (Official Music Video) - YouTube
Official Music Video for "Whiskey Doesn't Work " by Maoli, from their "Maoli Music Overload" (MMO) project. ▻ Listen to more of Maoli's...
Read more >
This Doesn't Work - YouTube
Provided to YouTube by TuneCoreThis Doesn't Work · C418One℗ 2013 C418Released on: 2013-01-02Auto-generated by YouTube.
Read more >
Which is correct, 'it doesn't work' or 'It doesn't works'?
“it doesn't work” is correct. As you know, English uses the helping verb do for negative statements and for questions. The only thing...
Read more >
Doesnt-work GIFs - Get the best GIF on GIPHY
Explore and share the best Doesnt-work GIFs and most popular animated GIFs here on GIPHY. Find Funny GIFs, Cute GIFs, Reaction GIFs and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found