public class DDApi extends Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
sendServices(Map<String,Service> services)
Send service extra information to the services endpoint
|
boolean |
sendTraces(List<List<DDBaseSpan<?>>> traces)
Send traces to the DD agent
|
public DDApi(String host, int port)
public boolean sendTraces(List<List<DDBaseSpan<?>>> traces)
traces - the traces to be sent