27 Apr 2026 02:02 PM
Hello all.
I am on Managed 1.336. I have a service : Requests executed in background threads of cont.my_process_group . Dynatrace captures traces like : http://localhost:0000/access/api/v1/system/readiness. I need to not capture these traces i.e. filter them out. I tried:
Settings : Server-side service monitoring > Trace sampling for HTTP requests
Path Equals readiness for any HTTP method is ignored
Path Ends with /readiness for any HTTP method is ignored
Does not work. Traces still captured. I tried at all possible scopes : host groupe, process group... Nothing works. Note : no problem to filter out traces on non background service.
Any one got sucess ?
Regards.
27 Apr 2026 03:24 PM
Hello, @gilles_tabary
I would first try matching the full path /access/api/v1/system/readiness, not only readiness. However, since this is a Requests executed in background threads service, it may not be treated the same as a standard incoming HTTP service. These services represent background activity from the process group, often outbound calls, so URL-based HTTP sampling rules can behave differently. If the same rule works on normal services but not here, I would raise it with Support with a trace example, because it may be a limitation or classification issue for background-thread traces.
27 Apr 2026 03:32 PM
I have a ticket indeed.
27 Apr 2026 07:57 PM
As of now, you can only mute it. Since this is part of the background thread sensors, the URL exceptions do not apply; it's in fact not a url, just the request is named as such. If you do not want to capture any request in a background thread, you can turn off the Java threading OneAgent feature for the process group.
29 Apr 2026 10:34 AM
@Julius_Loman wrote:... you can turn off the Java threading OneAgent feature for the process group.
Would this preserve standard "real" request capture ?
29 Apr 2026 04:11 PM
Yes just not those background threads. Web services, web requests or messaging services will still work as those are different sensors.
29 Apr 2026 06:00 PM - edited 29 Apr 2026 06:19 PM
Turned off OneAgent feature java thread at Process Group level + process restart => zero service traces captured any more. I.e. not only background req are not captured but also all other are also not captured. My mistake: deep monitoring was turned off entirely on that PG.
Yet. Now : I have deep monitoring on, OneAgent feature java threading off (at PG level) : still backgroud req are captured.
03 May 2026 08:25 PM
@gilles_tabary I see there is now a separate OneAgent feature for that:, check "Background Requests for Services (HTTP/GRPC)" . Last time I did this, this was not yet available.
29 Apr 2026 05:12 PM
Thanks for feed-backs.
My concern is threefold : those background traces
Are these statement corrects ?
This is why I am wondering how to not capture them.
Featured Posts