-
Notifications
You must be signed in to change notification settings - Fork 31
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
461 add custom jfr events to self #505
461 add custom jfr events to self #505
Conversation
@andrewazores Since we are not using the event fields ( |
Ah, that's annoying. I think the |
Looking good so far. Please read over I didn't cover it in my quick demo initially, but |
We read over the docs but we're unsure about what the threshold should be for our usage of Based on this we've decided to set the threshold to be the timeout duration specified here: However, we don't think this is right because of how rare it would be for a request to take this long, meaning such events would rarely, if ever, be recorded. |
I think the default threshold can simply be 0ms, ie always record this event. This can be set in templates instead - we might have different templates with different values for this setting. |
@jan-law looks good to me. Are you planning to make any further changes? If not, I will merge this now. |
Good to go, ready to merge |
* Add WebServerRequestEvent * fixup! Add WebServerRequestEvent * Update template desc and provider * Supress unused event field warnings * fixup! Supress unused event field warnings * Add annotations * fixup! Add annotations * Move threshold setting to template * Fix name typo * Separate ip and port fields * Rename 'ip' field to 'host'
Related (#461)
@hareetd and I recreated this WebServerRequestEvent together by following @andrewazores' example.
(From now on, I'll be creating a separate PR for each event)