public class OpenTsdbClient extends Object
Client to connect to OpenTsdb TSD for storing timeseries datapoints.
Modifier and Type | Class and Description |
---|---|
static class |
OpenTsdbClient.Builder |
static class |
OpenTsdbClient.ResponseType |
Modifier | Constructor and Description |
---|---|
protected |
OpenTsdbClient(String urlString,
boolean sync,
long syncTimeOut,
OpenTsdbClient.ResponseType responseType,
boolean enableChunkedEncoding) |
Modifier and Type | Method and Description |
---|---|
void |
cleanup() |
static OpenTsdbClient.Builder |
newBuilder(String url) |
ClientResponse.Details |
writeMetricPoint(OpenTsdbMetricDatapoint metricDataPoint) |
ClientResponse.Details |
writeMetricPoints(Collection<OpenTsdbMetricDatapoint> metricDataPoints) |
protected OpenTsdbClient(String urlString, boolean sync, long syncTimeOut, OpenTsdbClient.ResponseType responseType, boolean enableChunkedEncoding)
public ClientResponse.Details writeMetricPoint(OpenTsdbMetricDatapoint metricDataPoint)
public ClientResponse.Details writeMetricPoints(Collection<OpenTsdbMetricDatapoint> metricDataPoints)
public void cleanup()
public static OpenTsdbClient.Builder newBuilder(String url)
Copyright © 2020 The Apache Software Foundation. All rights reserved.