[Hawkular-dev] [hawkular-apm]How to inspect query string within a HttpRequest

埜陆 luye19870406 at gmail.com
Sat Oct 8 03:27:03 EDT 2016


hi everyone I just want to make the query string as a property within a
httprequest by setting the businessTransaction
e.g.  got two httprequest
        GET /foo/bar?text=hello
        GET /foo/bar?text=world
        and want to classify them with query text by evaluateURL
        then node will got a property with name text and  values  hello and
world

after seeing the apm-javax-servlet.json  only  the 'processHeaders' will
trigger a businessTranaction process when all other 'setdetails'  has not
been invoked which will attach the query string to 'node details' , so the
action 'evaluateUrl' will never take effect, and all other actions like
'setContent' or 'setProperty' only findvalues in Headers and
Content, unfortunately they don't hold the query string which only exists
in details by default.

I am new to this, so am I missing something ? is there any way to achieve
what I want without modify the default config?  thanks

best regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hawkular-dev/attachments/20161008/13f0252e/attachment.html 


More information about the hawkular-dev mailing list