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

human parameter on the hot threads API returns a response that's not really human readable #5563

Closed
dedemorton opened this issue Jun 28, 2016 · 2 comments

Comments

@dedemorton
Copy link
Contributor

When I run the hot threads API with ?human=true specified, the results are not really human readable, and specifying ?human=false does not seem to change the response.

In previous alpha versions, I believe that we returned a more readable response, as shown in the documentation for the hot threads API. I'm opening this issue in case this change was not intentional.

  • Version: 5.0.0-alpha4
  • Operating System: OS X
  • Config File: NA
  • Sample Data: NA
  • Steps to Reproduce:
    Call the hot threads API and specify ?human=true. The call returns a response that seems to be in XML format, but (IMHO) isn't really human readable. Setting human=false returns the same document. This makes me wonder if the human parameter is working as expected.
@purbon
Copy link
Contributor

purbon commented Jun 30, 2016

@andrewvc something got wrong in your during your refactoring?

@nemonster
Copy link

I just saw the same thing running this command from the diagnostic. I used the exact syntax that was in the current alpha-4 documentation. Copied it.
/_node/hot_threads?human=true

What I get is unpretty json. It's essentially the same output as if you run it with no options at all.

Attaching a sample of what I got.
nodes_hot_threads.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants