Thanks Michal, can you kindly send me you kafka-run-class.sh and
kafka-server-start.sh file, I have look what have you done. Because I have
done same thing that you explained above but when i do this <
http://localhost:9999/jolokia/list> i get only metrics for the zookeeper
but not the above metrics.

How are you using Jolokia for monitoring kafka cluster??

Thanks in advance

On Fri, Dec 8, 2017 at 3:10 PM, Michal Michalski <
michal.michal...@zalando.ie> wrote:

> Hi Irtiza,
>
> I don't have any tutorial, but I can tell you what we do :-)
>
> First of all we have Jolokia agent jar included in our Kafka Docker image.
> Then we append this to KAFKA_OPTS
>
> -javaagent:/jolokia-jvm-agent.jar=port=8074,host=0.0.0.0
>
>
> Relevant port is then "exposed" in Docker image and "allowed" in AWS
> Security Group.
> Then our monitoring tool is querying the following endpoins (just a HTTP
> GET query) these endpoints to get a list of all the metrics we need:
>
> <host>:8074/jolokia/read/kafka.server:*
> <host>:8074/jolokia/read/kafka.controller:*
> <host>:8074/jolokia/read/kafka.log:*
> <host>:8074/jolokia/read/kafka.network:*
> <host>:8074/jolokia/read/java.lang:type=Memory
>
>
> And that's it, we get a nice JSON that we can use the way we want :-)
> I hope I didn't miss anything, but this should be it.
>
> M.
>
>
> On 8 December 2017 at 09:28, Irtiza Ali <i...@an10.io> wrote:
>
> > Hello Michal,
> >
> > Can you send me link to tutorial or provide some resources for the
> Jolokia
> > configuration with kafka>
> >
> >
> > Thank you
> > Irtiza
> >
> > On Wed, Dec 6, 2017 at 8:00 PM, Michal Michalski <
> > michal.michal...@zalando.ie> wrote:
> >
> > > Hi Irtiza,
> > >
> > > We're using Jolokia and we had no problems with it.
> > > It would be useful to know what exactly you did (how you "plugged in"
> > > Jolokia, how you configured it, what endpoint are you querying etc.) to
> > > help you.
> > >
> > > On 6 December 2017 at 10:36, Irtiza Ali <i...@an10.io> wrote:
> > >
> > > > Hello everyone,
> > > >
> > > > I am working python based Kafka monitoring application. I am unable
> to
> > > > figure out how to retrieve the metrics using Jolokia. I have enable
> the
> > > > port for metrics retrieval to 9999.
> > > >
> > > > I Have two questions
> > > >
> > > > 1) Is there something that I am not doing correctly.
> > > > 2) Is there some other way to do it.
> > > >
> > > > With Regards
> > > > Irtiza Alli
> > > >
> > >
> >
>

Reply via email to