Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix thread state metrics not being exposed #419

Merged
merged 2 commits into from
Sep 4, 2018

Conversation

schnapster
Copy link
Contributor

@brian-brazil

#391 introduced thread state metrics, however while they are collected, they are not actually exposed. Adding this line should fix that.

Signed-off-by: Dennis Neufeld <napster@npstr.space>
Signed-off-by: Dennis Neufeld <napster@npstr.space>
@schnapster
Copy link
Contributor Author

I have also expanded the test case to cover the thread state metric. I'm new to Mockito, hope my test code fits this project's expectations.

@brian-brazil brian-brazil merged commit 9537b44 into prometheus:master Sep 4, 2018
@brian-brazil
Copy link
Contributor

Thanks!

@schnapster schnapster deleted the patch-1 branch September 4, 2018 09:00
@snago snago mentioned this pull request Nov 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants