public interface WavefrontHistogramSender
| Modifier and Type | Method and Description |
|---|---|
void |
sendDistribution(java.lang.String name,
java.util.List<Pair<java.lang.Double,java.lang.Integer>> centroids,
java.util.Set<HistogramGranularity> histogramGranularities,
java.lang.Long timestamp,
java.lang.String source,
java.util.Map<java.lang.String,java.lang.String> tags)
sendDistribution.
|
void sendDistribution(java.lang.String name,
java.util.List<Pair<java.lang.Double,java.lang.Integer>> centroids,
java.util.Set<HistogramGranularity> histogramGranularities,
@Nullable
java.lang.Long timestamp,
@Nullable
java.lang.String source,
@Nullable
java.util.Map<java.lang.String,java.lang.String> tags)
throws java.io.IOException
sendDistribution.
name - The name of the histogram distribution. Spaces are replaced
with '-' (dashes) and quotes will be automatically escaped.centroids - The distribution of histogram points to be sent.
Each centroid is a 2-dimensional Pair where the
first dimension is the mean value (Double) of the centroid
and second dimension is the count of points in that centroid.histogramGranularities - The set of intervals (minute, hour, and/or day) by which
histogram data should be aggregated.timestamp - The timestamp in milliseconds since the epoch to be sent.
If null then the timestamp is assigned by Wavefront when
data is received.source - The source (or host) that's sending the histogram. If
null, then assigned by Wavefront.tags - The tags associated with this histogram.java.io.IOException - If there was an error sending the histogram.Copyright © 2023. All rights reserved.