Open dej611 opened 1 month ago
As far as I can tell, the cases where it doesn't emit that event are basically any case where the request dies before a response comes back. A thrown error, a timeout, etc. I'll go through the code more carefully and do my best to clarify in the docs.
Question
In the current observability documentation at https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/observability.html within the
deserialization
event the following quote is present:It would be useful to know when such event is not emitted. Use case: we're trying to instrument Kibana to know how much time is spent on the server side (included the detail about deserialization of the response) and it needs to know when to fallback.