-
Notifications
You must be signed in to change notification settings - Fork 359
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
Contributing kafka_jmx.py script to collect kafka MBean metrics exposed to JMX port #125
base: master
Are you sure you want to change the base?
Conversation
r+ |
classpath = ":".join(classpath) | ||
|
||
jpid = "Kafka" | ||
jps = subprocess.check_output("jps").split("\n") |
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.
Unless I'm missing something, this requires Python 2.7, I'm not sure we should merge it. @tsuna?
Getting error on the second loop, cant find any errors in the python, error with the jmx-1.0.jar?
|
This script will be helpful to collect Kafka metrics for following MBean domains,
"kafka.server",
"kafka.cluster",
"kafka.controller",
"kafka.network",
"kafka.log",
"kafka.consumer",
"java.lang"