public class InternalProxyWavefrontClient extends Object implements com.wavefront.sdk.common.WavefrontSender
Constructor and Description |
---|
InternalProxyWavefrontClient(ReportableEntityHandlerFactory handlerFactory) |
InternalProxyWavefrontClient(ReportableEntityHandlerFactory handlerFactory1,
String handle) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
flush() |
int |
getFailureCount() |
void |
sendDistribution(String name,
List<com.wavefront.sdk.common.Pair<Double,Integer>> centroids,
Set<com.wavefront.sdk.entities.histograms.HistogramGranularity> histogramGranularities,
Long timestamp,
String source,
Map<String,String> tags) |
void |
sendMetric(String name,
double value,
Long timestamp,
String source,
Map<String,String> tags) |
void |
sendSpan(String name,
long startMillis,
long durationMillis,
String source,
UUID traceId,
UUID spanId,
List<UUID> parents,
List<UUID> followsFrom,
List<com.wavefront.sdk.common.Pair<String,String>> tags,
List<com.wavefront.sdk.entities.tracing.SpanLog> spanLogs) |
public InternalProxyWavefrontClient(ReportableEntityHandlerFactory handlerFactory)
public InternalProxyWavefrontClient(ReportableEntityHandlerFactory handlerFactory1, String handle)
public void flush() throws IOException
flush
in interface com.wavefront.sdk.common.BufferFlusher
IOException
public int getFailureCount()
getFailureCount
in interface com.wavefront.sdk.common.BufferFlusher
public void sendDistribution(String name, List<com.wavefront.sdk.common.Pair<Double,Integer>> centroids, Set<com.wavefront.sdk.entities.histograms.HistogramGranularity> histogramGranularities, Long timestamp, String source, Map<String,String> tags) throws IOException
sendDistribution
in interface com.wavefront.sdk.entities.histograms.WavefrontHistogramSender
IOException
public void sendMetric(String name, double value, Long timestamp, String source, Map<String,String> tags) throws IOException
sendMetric
in interface com.wavefront.sdk.entities.metrics.WavefrontMetricSender
IOException
public void sendSpan(String name, long startMillis, long durationMillis, String source, UUID traceId, UUID spanId, List<UUID> parents, List<UUID> followsFrom, List<com.wavefront.sdk.common.Pair<String,String>> tags, @Nullable List<com.wavefront.sdk.entities.tracing.SpanLog> spanLogs) throws IOException
sendSpan
in interface com.wavefront.sdk.entities.tracing.WavefrontTracingSpanSender
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2019. All rights reserved.