Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Documentation] Document where the deserialization is not emitted #2345

Open
dej611 opened this issue Aug 19, 2024 · 2 comments
Open

[Documentation] Document where the deserialization is not emitted #2345

dej611 opened this issue Aug 19, 2024 · 2 comments
Assignees

Comments

@dej611
Copy link

dej611 commented Aug 19, 2024

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:

(This event might not be emitted in certain situations).

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.

@JoshMock
Copy link
Member

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.

Copy link
Contributor

This issue is stale because it has been open 90 days with no activity. Remove the stale label, or leave a comment, or this will be closed in 14 days.

@github-actions github-actions bot added the stale label Nov 18, 2024
@JoshMock JoshMock removed the stale label Nov 21, 2024
@JoshMock JoshMock self-assigned this Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants