Re: Finding out the top-level script/servlet used during a request

2023-09-07 Thread Robert Munteanu
Hi Carsten, On Sat, 2023-09-02 at 12:23 +0200, Carsten Ziegeler wrote: > Hi, > > I think RequestData [4] is the right place - or at least the best > place > we have today :) > > If you can do the instrumentation in a way that it does its work only > once (the first time), then you might get

Re: Finding out the top-level script/servlet used during a request

2023-09-02 Thread Carsten Ziegeler
Hi, I think RequestData [4] is the right place - or at least the best place we have today :) If you can do the instrumentation in a way that it does its work only once (the first time), then you might get away without changes in Sling. If not, maybe enhancing [4] a little bit to detect

Finding out the top-level script/servlet used during a request

2023-09-01 Thread Robert Munteanu
Hi, I am interested in finding out what script/servlet was used to serve a given request. I am doing this for observability reasons, to be able to report traces via opentelemetry [1] . OTEL works using bytecode instrumentation, so I'm not worried about how to intercept calls, but more about how