-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Enable TCP states and ThreadPool stats #5003
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
Conversation
This commit adds the ability to enable TCP and ThreadPool statistics to be collected when making a request, exposing these statistics on the IApiCallDetails on the response, as well as including in the debug information. Add documentation explaining how to include these statistics either on a global or per request basis.
Thoughts on including this in 7.9.1, or 7.10.0, @Mpdreamz ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change looks good and much welcomed! Definitely can go out in 7.9.1
I wonder if it might be good to create include these types under https://github.com/elastic/elasticsearch-net/tree/master/src/Elasticsearch.Net/Diagnostics and in the Diagnostics namespace?
debugCompletedRequestHandler.Invoke(d); | ||
}; | ||
}); | ||
_completedRequestHandler += v ?? (d => Debug.WriteLine(d.DebugInformation))); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 💯
I was initially thinking of putting them there, then wondered if that should strictly be for |
Failures are related to transforms; opened #5004 to address |
This commit adds the ability to enable TCP and ThreadPool statistics to be collected when making a request, exposing these statistics on the IApiCallDetails on the response, as well as including in the debug information. Add documentation explaining how to include these statistics either on a global or per request basis.
This commit adds the ability to enable TCP and ThreadPool statistics to be collected when making a request, exposing these statistics on the IApiCallDetails on the response, as well as including in the debug information. Add documentation explaining how to include these statistics either on a global or per request basis.
This commit adds the ability to enable TCP and ThreadPool statistics to be collected when making a request, exposing these statistics on the IApiCallDetails on the response, as well as including in the debug information. Add documentation explaining how to include these statistics either on a global or per request basis. Co-authored-by: Russ Cam <russ.cam@elastic.co>
* Enable TCP states and ThreadPool stats (#5003) This commit adds the ability to enable TCP and ThreadPool statistics to be collected when making a request, exposing these statistics on the IApiCallDetails on the response, as well as including in the debug information. Add documentation explaining how to include these statistics either on a global or per request basis. Co-authored-by: Russ Cam <russ.cam@elastic.co>
This commit adds the ability to enable TCP and ThreadPool
statistics to be collected when making a request, exposing
these statistics on the IApiCallDetails on the response, as
well as including in the debug information.
Add documentation explaining how to include these statistics
either on a global or per request basis.