public class DDApi extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
DDApi.ResponseListener |
Constructor and Description |
---|
DDApi(String host,
int port,
String unixDomainSocketPath) |
Modifier and Type | Method and Description |
---|---|
void |
addResponseListener(DDApi.ResponseListener listener) |
boolean |
sendTraces(List<List<DDSpan>> traces)
Send traces to the DD agent
|
String |
toString() |
public void addResponseListener(DDApi.ResponseListener listener)
public boolean sendTraces(List<List<DDSpan>> traces)
traces
- the traces to be sent