# Instrument elasticsearch search with Jaeger (or elastic APM)

**URL:** <https://discuss.elastic.co/t/instrument-elasticsearch-search-with-jaeger-or-elastic-apm/262869>\
**Category:** Elasticsearch\
**Created:** [February 1, 2021, 5:12pm UTC](https://discuss.elastic.co/t/instrument-elasticsearch-search-with-jaeger-or-elastic-apm/262869 "2021-02-01T17:12:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ebuildy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ebuildy/32/6070_2.png) [@ebuildy](https://discuss.elastic.co/u/ebuildy)\
**Post date:** [February 1, 2021, 5:12pm UTC](https://discuss.elastic.co/t/instrument-elasticsearch-search-with-jaeger-or-elastic-apm/262869/1 "2021-02-01T17:12:23Z")

</div>

In order to tune our cluster, we want to understand what elasticsearch do when a query arrive.

Usually we use jaeger for that , (I am a big fan of elasticAPM too), is it possible to profile elasticsearch like that?

So elasticsearch spans could be included with our app spans.

(i know there is a profiler endpoint already).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 1, 2021, 5:13pm UTC](https://discuss.elastic.co/t/instrument-elasticsearch-search-with-jaeger-or-elastic-apm/262869/2 "2021-03-01T17:13:19Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
