Showing results for 
Show  only  | Search instead for 
Did you mean: 

One Agent SDK - Tracing incoming web requests: what do the parameters service name,method,endpoint mean ?

Frequent Guest

I'm trying to trace some web requests sent through a java client manually using OneAgent SDK.

I'm using this method call in OneAgentSDK interface


IncomingRemoteCallTracer traceIncomingRemoteCall(String serviceMethod, String serviceName, String serviceEndpoint);


I want to know which values these should map if I'm using OpenKit to create web calls like this:

String url = "";

// create the WebRequestTracer
WebRequestTracer webRequestTracer = action.traceWebRequest(url);

What should be the values I should pass to String serviceMethod, String serviceName, String serviceEndpoint if I'm using the web tracer as above ?


DynaMight Guru
DynaMight Guru

Hi @Navod ,

the values are used to create a service within Dynatrace on the server side and to identify the service. It's up to you.

In general:

  • serviceMethod stands for the operation executed (e.g. createOrder)
  • serviceName is the name of the service (e.g. OrderService)
  • serviceEndpoint is the endpoint of the service (rmi://Shop/OrderService)
Certified Dynatrace Master | TEMPEST a.s., Slovakia, Dynatrace Master Partner