Profiling Elasticsearch

Hello,

I'm working on native Custom Score scripts and trying to profile my code
--- but I do not know how to attach a profiler to my Elasticsearch
instance. I tried using the YourKit profiler, and followed its instructions
for enabling profiling both in a running JVM and in a new JVM with profiler
support --- both to no avail.

Is there a simple way of getting profiling information from Elasticsearch?
Should I try a different profiler? Bear in mind that this comes from a Java
beginner, so please be explicit!

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Hey,

maybe it helps, if you describe, what you tried already, so perhaps you are
just missing a tiny step and others can jump in to help. You could also try
jvisualvm (included in your JDK). Should work as easy as starting up
elasticsearch via commandline, then starting jvisualvm and selecting the
appropriate process - I also think, yourkit works the same, havent
installed it at the moment to verify though.

--Alex

On Wed, Oct 2, 2013 at 11:26 AM, Maciej Kula aggregaccount@gmail.comwrote:

Hello,

I'm working on native Custom Score scripts and trying to profile my code
--- but I do not know how to attach a profiler to my Elasticsearch
instance. I tried using the YourKit profiler, and followed its instructions
for enabling profiling both in a running JVM and in a new JVM with profiler
support --- both to no avail.

Is there a simple way of getting profiling information from Elasticsearch?
Should I try a different profiler? Bear in mind that this comes from a Java
beginner, so please be explicit!

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.