I have a usecase where I would like to segregate my requests on the basis of a value present in a particular header, let's say 'X'. X would be set only to true/false. I would like transaction count, latency, errors all segregated. Is it possible in Elastic APM Java agent?
I read about Filters but couldn't understand how I can use it in my case.
Or is it possible to do it by attaching two elastic APM Java agents somehow?