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

which is the memory + disk in http /stats? #186

Closed
anotherGoogleFan opened this issue Aug 8, 2016 · 1 comment
Closed

which is the memory + disk in http /stats? #186

anotherGoogleFan opened this issue Aug 8, 2016 · 1 comment
Labels

Comments

@anotherGoogleFan
Copy link

anotherGoogleFan commented Aug 8, 2016

I visit the /stats and got the result.

nsqd v0.3.8 (built w/go1.6.2)
start_time 2016-08-08T11:16:14+08:00
uptime 6h34m31.342462817s

Health: OK

   [Keywords       ] depth: 0     be-depth: 0     msgs: 2        e2e%: 0.0ns, 0.0ns, 0.0ns
      [test-channel             ] depth: 1     be-depth: 0     inflt: 0    def: 0    re-q: 1     timeout: 1     msgs: 2        e2e%: 0.0ns, 0.0ns, 0.0ns

I wonder which one means Disk + memory. If none, I wonder how to get it. Thank U.
By the way, when I visit the http /stats, the param "&topic=xxxx" and "&channel=xxx" do not work.
And, is there a document to explain which these return value from http stand for?

@jehiah
Copy link
Member

jehiah commented Aug 8, 2016

@AnotherGoogleFans you can use &format=json if you want more granular information. be-depth is the on-disk depth.

If you are looking for general introspection of your cluster I encourage you to use nsqadmin

If you can include w/ your output the curl request you are making which shows the topic filtering isn't working that would be helpful. I did a quick check and topic and channel filtering seem to work fine for me.

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

No branches or pull requests

3 participants