You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It might be really useful for debugging purposes to include response time as part of DiagnosticResult.
Motivation
Solving the problem in the user-land is not the best DX.
We can start with something simple - a time between a request method was called and a response from ES is fully received. Later, we can introduce a more detailed explanation for different phases - DNS lookup, TLS handshake, etc.
Example
client.on('....',(error,event)=>{console.log(`request to ${event.meta.request.path} took ${event.meta.took} ms`)'
});awaitclient.search(....)
The text was updated successfully, but these errors were encountered:
🚀 Feature Proposal
It might be really useful for debugging purposes to include response time as part of
DiagnosticResult
.Motivation
Solving the problem in the user-land is not the best DX.
We can start with something simple - a time between a request method was called and a response from ES is fully received. Later, we can introduce a more detailed explanation for different phases - DNS lookup, TLS handshake, etc.
Example
The text was updated successfully, but these errors were encountered: