public class HttpCollectorProtoClient extends BaseHttpClient implements Client<com.expedia.open.tracing.Span>
| Constructor and Description |
|---|
HttpCollectorProtoClient(String endpoint) |
HttpCollectorProtoClient(String endpoint,
Map<String,String> headers) |
HttpCollectorProtoClient(String endpoint,
Map<String,String> headers,
org.apache.http.impl.client.CloseableHttpClient httpClient) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
send(com.expedia.open.tracing.Span span)
All clients should control how they send spans to somewhere
|
close, flush, getEndpoint, getHeaders, sendpublic HttpCollectorProtoClient(String endpoint, Map<String,String> headers)
public HttpCollectorProtoClient(String endpoint)
public boolean send(com.expedia.open.tracing.Span span)
throws ClientException
Clientsend in interface Client<com.expedia.open.tracing.Span>span - Span to send off to the endpointtrue if the operation was successful,
false if it was unsuccessfulClientException - throws a ClientException if an exception occuredCopyright © 2019. All rights reserved.