Class InternalProxyWavefrontClient

  • All Implemented Interfaces:
    com.wavefront.sdk.common.BufferFlusher, com.wavefront.sdk.common.WavefrontSender, com.wavefront.sdk.entities.events.WavefrontEventSender, com.wavefront.sdk.entities.histograms.WavefrontHistogramSender, com.wavefront.sdk.entities.logs.WavefrontLogSender, com.wavefront.sdk.entities.metrics.WavefrontMetricSender, com.wavefront.sdk.entities.tracing.WavefrontTracingSpanSender, Closeable, AutoCloseable

    public class InternalProxyWavefrontClient
    extends Object
    implements com.wavefront.sdk.common.WavefrontSender
    • Method Detail

      • flush

        public void flush()
        Specified by:
        flush in interface com.wavefront.sdk.common.BufferFlusher
      • getFailureCount

        public int getFailureCount()
        Specified by:
        getFailureCount in interface com.wavefront.sdk.common.BufferFlusher
      • sendDistribution

        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)
        Specified by:
        sendDistribution in interface com.wavefront.sdk.entities.histograms.WavefrontHistogramSender
      • sendMetric

        public void sendMetric​(String name,
                               double value,
                               Long timestamp,
                               String source,
                               Map<String,​String> tags)
        Specified by:
        sendMetric in interface com.wavefront.sdk.entities.metrics.WavefrontMetricSender
      • sendFormattedMetric

        public void sendFormattedMetric​(String s)
        Specified by:
        sendFormattedMetric in interface com.wavefront.sdk.entities.metrics.WavefrontMetricSender
      • sendSpan

        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)
        Specified by:
        sendSpan in interface com.wavefront.sdk.entities.tracing.WavefrontTracingSpanSender
      • getClientId

        public String getClientId()
        Specified by:
        getClientId in interface com.wavefront.sdk.common.WavefrontSender