Blog

Modern search analytics with OpenTelemetry and ES|QL

Showcasing how to turn existing OpenTelemetry traces into practical search analytics and business insight in Elastic without building a separate analytics pipeline.

How to build search analytics on Elastic using OpenTelemetry, no extra pipeline required

How to instrument your search application to use modern Open Telemetry standard to drive insights in to your search and users.

Matthew Adams

How to instrument your search API with OpenTelemetry and query it with ES|QL

Add custom attributes to OpenTelemetry spans and run six ES|QL queries that reveal your top searches, zero-result rate and slowest queries.

Matthew Adams

15 lines of click tracking code that tell you what search logs can't

Three ES|QL queries calculate click-through rate, mean reciprocal rank and click position distribution from your search click data, so you can pinpoint which queries need relevance tuning and where ranking improvements will have the most impact.

Matthew Adams

From search to checkout in 20 lines of code: building a 4-stage conversion funnel with OpenTelemetry

Add cart and purchase tracking to your search analytics pipeline and use ES|QL to answer the question every product manager asks: which search queries drive the most revenue?

Matthew Adams

Ready to build state of the art search experiences?

Sufficiently advanced search isn’t achieved with the efforts of one. Elasticsearch is powered by data scientists, ML ops, engineers, and many more who are just as passionate about search as you are. Let’s connect and work together to build the magical search experience that will get you the results you want.

Try it yourself