elastic / oblt-playwright

0 stars 2 forks source link

Log Elasticsearch queries in user journeys #5

Closed ablnk closed 9 months ago

ablnk commented 9 months ago
ablnk commented 9 months ago

@cachedout Unlike Infrastructure UI, APM UI doesn't allow you to inspect visualizations, from where you can get the actual Elasticsearch query.

APM: chrome_hCoH2VsjmM

Infra: chrome_2IkfpoNYBx

You can trace slow Elasticsearch query to the origin via shard level slow search log (which is out of Playwright's scope), with certain limitations though:

At the moment, Kibana can only highlight cases where a slow query originated from a Kibana visualization, Lens, Discover, Maps, or Alerting.