Open stratoula opened 3 months ago
Pinging @elastic/kibana-esql (Team:ESQL)
I synced with ES, they are going to provide us the time in the api https://github.com/elastic/elasticsearch/issues/110935
FWIW, this is related to the issue I opened at https://github.com/elastic/kibana/issues/187051 about providing the wall clock time of queries.
Here is the related ES PR https://github.com/elastic/elasticsearch/pull/112595
Describe the feature:
Clicking on "Recent queries" inside the ES|QL input shows inaccurate durations (on the order of 2ms instead of something like 10s) for long running queries.
We need to rethink how to calculate these numbers (or ask from ES to return us the number) instead of trying to calculate them in the client side.