Answer by Andreas G. ·
Hi
Thats an interesting one. Well - there is the option to capture all HTTP Headers but there is no option to then do a count on it. Also - it would capture a lot of information that you never look at.
With dynaTrace 6 - just released - I see an interesting option. In dynaTrace 6 you can instrument a method that gets e.g. HttpServletRequest object - maybe you instrument a specific Servlet Filter method that is always called. Now - instead of capturing that request object you can now leverage "Deep Object Access". In the case of HttpServletRequest you can make a call to getHeaderNames().size() to capture the size of that list that comes back. Not sure if this works exaclty with that call as getHeaderNames returns an Enumerator which doesnt provide a size method - but - I guess you get the options that you now have with deep object access.
Once this argument is captured you can create a regular Method Argument Measure to extract that number. you can use this measure as a filter on a BT to get those PurePaths (=Web Requests) that return a number larger than 30
Andi
JANUARY 15, 3:00 PM GMT / 10:00 AM ET