-
Notifications
You must be signed in to change notification settings - Fork 5
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
added basic metrics #3
Conversation
I found the issue: https://github.com/sensu-plugins/sensu-plugins-kafka/blob/d1d603b7ae5cb14daf9dc0f2b5f738aa9b3b1df4/Rakefile#L33 it needs to be updated I will push to your fork and make sure the tests pass. Sorry about the delay and my lack of noticing it earlier. |
@yuri-zubov can you please add a changelog entry for the new checks? |
require 'zookeeper' | ||
|
||
class TopicsCheck < Sensu::Plugin::Check::CLI | ||
option :zookeeper, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have not really looked into kafka
can you confirm this makes sense to live here and not in the zookeeper plugin?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@majormoses
It complements the zookeeper plugin
Which I've also tested
Provides more Kafka-specifics checks
Especially the one relying on the HTTP servlet
Which actually exposés Dropwizard metrics, not available through zookeeper
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall this looks great and just needs some minor fixup and answer a few questions as I am not terrible familiar with kafka. Also if you could please include a changelog and testing artifact that would be greatly appreciated.
bin/check-topic.rb
Outdated
description: 'Topic name', | ||
short: '-n TOPIC_NAME', | ||
long: '--name TOPIC_NAME', | ||
required: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
either align with the others or use a single space here.
require 'zookeeper' | ||
|
||
class TopicsCheck < Sensu::Plugin::Check::CLI | ||
option :zookeeper, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same question about if this is the right place for this check or if it should live in the zookeeper plugin.
@majormoses I see that name |
test artifact
|
|
Hmm the failure is completely unreleased but I see that and will reach out about transfering over to the community. |
looks like it minimally needs a compiler to install: https://travis-ci.org/sensu-plugins/sensu-plugins-kafka/jobs/373837587#L1042 I will see if I can get it working for you. |
I am gonna hold off on releasing this as I want to see what happens obazoud/sensu-plugins-kafka#21 before doing something like renaming to |
Please ping me if we do not get a response in a bit and I will go down the path of renaming the plugin to avoid namespace collision. |
Pull Request Checklist
Is this in reference to an existing issue?
General
Update Changelog following the conventions laid out here
Update README with any necessary configuration snippets
Binstubs are created if needed
RuboCop passes
Existing tests pass
New Plugins
Tests
Add the plugin to the README
Does it have a complete header as outlined here
Purpose
Known Compatibility Issues