-
-
Notifications
You must be signed in to change notification settings - Fork 734
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
Capture QueryString and POST payload on http requests #804
Comments
Sorry, but javamelody does not store every http request parameters and payloads and in fact, javamelody does not store every http events either, but just statistics. Only for http parameters, the volume of data stored would be multiplied by a thousand or by a million depending on the webapp's usage. So http parameters are only displayed in the "Current requests". What could possibly be done is to store and display the last 100 "slow" http hits with date/time, request and parameters, like the last 100 http errors. Http hits would be "slow" only when their duration was greater than some global threshold (for example, 2 * standard deviation of the latest global request computed in the Collector.collectCounterData method for the http counter). |
@evernat what about POST payload for current requests? Is is working now or it's not implemented due memory usage of payload? |
@kortov POST payload is not read by javamelody. |
To troubleshoot the performance of servers, it is desirable to capture the query string and POST payload (body) on HTTP requests.
I think issue #429 was asking for something similar, but I'd like to reiterate and have some discussion around it. We've been using JavaMelody for awhile, and if we're pointed in the right direction, we might be able to provide a pull request for such an enhancement.
It feels like a many-to-many relationship between the URL path and this data, and I don't know the full details of how JavaMelody stores the information, but I'll dig into it, unless there are glaring issues that someone can bring to my attention.
Thank you.
The text was updated successfully, but these errors were encountered: