-
Notifications
You must be signed in to change notification settings - Fork 40.8k
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
Added configuration for disabling the actuator trace filter #8650
Added configuration for disabling the actuator trace filter #8650
Conversation
b235147
to
f5aa215
Compare
I can't see those measurements in grails/grails-core#640. Can you share them with us please? |
@wilkinsona The user has posted the measurements in that thread, nevertheless I don't think this is new information that |
If there's concrete data that it's specfically the
Unfortunately, the numbers in #8322 don't really indicate anything that we could act upon which is why the issue was closed. They were looking at the actuator as a whole, rather than focussing on This PR is different (and better, IMO), as it's proposing something that's focussed specifically on the filter and aligns with the existing option for the metrics filter. That said, I'm still interested in seeing any performance data that's been collected that focuses specifically on the filter. |
…stTraceFilter) following the pattern in MetricFilterAutoConfiguration spring-projects#8322
I'd also be interested in seeing some performance data, but I think this is generally useful enhancement regardless. It aligns nicely with |
@philwebb @wilkinsona I have asked the reporter to provide more data. Thanks. |
f5aa215
to
b645a3b
Compare
@wilkinsona InMemoryTraceRepository has synchronized block for every insertion (every request) The pull request -- only disabling of endpoit, not a WebRequestTraceFilter |
FYI, I rebased onto a passing build from |
Thanks @ColinHarrington |
…filter * pr/8650: Polish "Add the ability to disable the trace filter" Add the ability to disable the trace filter
Added configuration for disabling the actuator trace filter (
WebRequestTraceFilter
).This pattern already exists in
MetricFilterAutoConfiguration
but was missed in theTraceWebFilterAutoConfiguration
. See Issue #8322 for more detail. Note: we've observed a measured overhead in Grails applications due to theWebRequestTraceFilter
being in place when including the actuator dependency. Related: grails/grails-core#640