Custom service.name on a Oracle WebLogic Server #10216
Unanswered
TheSinnerAR
asked this question in
Q&A
Replies: 1 comment
-
You can't. Resource is an immutable object that is created once when the agent initializes before your application services any requests. You won't be able to add anything that depend on the request to the resource.
You'd use the request argument similarly to how the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello folks,
I am creating a java agent extension to be able to dynamically configure the service name since there are many applications running on an Oracle WebLogic Server instance.
I rely on the DemoResourceProvider.java example to set an attribute, but I am not being able to obtain the url of the request in question to parse it and obtain the name of the application.
I don't know if it is possible to obtain the url of the request (if I could do it with a Sampler)
How can I get the rel request url in the DemoServlet3Instrumentation.java class?
Similar to #10068
Beta Was this translation helpful? Give feedback.
All reactions