How is ElasticSearch instrumented?

Hi team, I'm taking a look at Elastic APM.

I've got a question.
How does Elastic APM gather data from ElasticSearch? (I mean monitoring ElasticSearch itself)

I can see Elastic APM has es-restclient-plugins. So I think tracing data to ElasticSearch can be collected through es-restclient-plugins.

But how about instrumenting directly to ElasticSearch(since it's Java).
So. maybe this should be the ultimate question

Do Elastic APM (have a plugin that) instruments ElasticSearch directly? or does it only gather data through es-restclient-plugins

Hi Roy,

Welcome to the forum :tada: and thanks for your excellent question.

You are right, currently only the queries made with the rest client are monitored. There are no immediate plans to instrument Elasticsearch itself with the APM Java agent.

That being said, Elasticsearch is capable of monitoring itself. See also https://www.elastic.co/guide/en/elasticsearch/reference/current/es-monitoring.html.

The question is: what kind of Elasticsearch monitoring data would you like to be collected?

Thanks,
Felix

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