Hi all,
I tried googling, but didn't see a satisfactory answer.
We're trying to measure the execution time of our ES queries against an ES
cluster. Measuring on the cluster isn't a good option in our case. So we'd
like to do it through our java TransportClient. I don't however know how to
wrap the Runnable or Callable that gets sent to the thread pool with code
that does any stat collection. There are two ways in which this could be
done:
- Modify the process by which the runnable is constructed.
- Modify the thread pool object or the thread factory associated with the
thread pool.
Is there any way to do either of these? Going through the documentation and
code didn't really get me anywhere. I didn't see any way to use guice
injection to get me what I wanted. Can anyone offer any suggestions on how
we might collect time statistics?
Sunil
--
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.