public interface WavefrontHistogramSender
Modifier and Type | Method and Description |
---|---|
void |
sendDistribution(String name,
List<Pair<Double,Integer>> centroids,
Set<HistogramGranularity> histogramGranularities,
Long timestamp,
String source,
Map<String,String> tags) |
void sendDistribution(String name, List<Pair<Double,Integer>> centroids, Set<HistogramGranularity> histogramGranularities, @Nullable Long timestamp, @Nullable String source, @Nullable Map<String,String> tags) throws IOException
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.IOException
- If there was an error sending the histogram.Copyright © 2022. All rights reserved.