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

NSQ plugin not compatible with latest release #3147

Closed
ashtonian opened this issue Aug 21, 2017 · 2 comments
Closed

NSQ plugin not compatible with latest release #3147

ashtonian opened this issue Aug 21, 2017 · 2 comments
Labels
bug unexpected problem or unintended behavior
Milestone

Comments

@ashtonian
Copy link
Contributor

ashtonian commented Aug 21, 2017

Bug report

The nsq input plugin uses the /stats http endpoint which has changed its format in March.

Relevant telegraf.conf:

Used the following to generate the config.

./telegraf --output-filter nsq config

System info:

Telegraf: latest, OSX

Steps to reproduce:

  1. Run local instance of NSQ - docker run --name nsqd -p 4150:4150 -p 4151:4151 nsqio/nsq nsqd More info: http://nsq.io/overview/quick_start.html
  2. Publish test message with curl -d 'hello world 1' 'http://127.0.0.1:4151/pub?topic=test'
  3. Verify http://localhost:4151/stats?format=json returns data. This is the endpoint telegraf uses.
  4. Run telegraf in test mode with generated config ./telegraf --config telegraf.conf --test

Expected behavior:

Telegraf to report Topic/Client/Channel stats

Actual behavior:

Telegraf reports 0 topics.

Additional info:

This seems to have been caused by changes in the latest release - https://github.com/nsqio/nsq/releases/tag/v1.0.0-compat

This will break functionality for nsq versions < 1.0.

@danielnelson
Copy link
Contributor

#2672

@danielnelson danielnelson added the bug unexpected problem or unintended behavior label Aug 23, 2017
@danielnelson danielnelson added this to the 1.4.0 milestone Aug 26, 2017
@danielnelson
Copy link
Contributor

Thanks for the fix @ashtonian, this will be released in 1.4.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants