public class NoOpDirectStatsDClient extends NoOpStatsDClient implements DirectStatsDClient
NonBlockingDirectStatsDClient, which can be substituted in when metrics are not
required.| Constructor and Description |
|---|
NoOpDirectStatsDClient() |
| Modifier and Type | Method and Description |
|---|---|
void |
recordDistributionValues(String aspect,
double[] values,
double sampleRate,
String... tags)
Records values for the specified named distribution.
|
void |
recordDistributionValues(String aspect,
long[] values,
double sampleRate,
String... tags)
Records values for the specified named distribution.
|
close, count, count, count, count, count, count, countWithTimestamp, countWithTimestamp, countWithTimestamp, countWithTimestamp, decrement, decrement, decrementCounter, decrementCounter, distribution, distribution, distribution, distribution, distribution, distribution, gauge, gauge, gauge, gauge, gauge, gauge, gaugeWithTimestamp, gaugeWithTimestamp, gaugeWithTimestamp, gaugeWithTimestamp, histogram, histogram, histogram, histogram, histogram, histogram, increment, increment, incrementCounter, incrementCounter, recordDistributionValue, recordDistributionValue, recordDistributionValue, recordDistributionValue, recordDistributionValue, recordDistributionValue, recordEvent, recordExecutionTime, recordExecutionTime, recordExecutionTime, recordGaugeValue, recordGaugeValue, recordGaugeValue, recordGaugeValue, recordGaugeValue, recordGaugeValue, recordHistogramValue, recordHistogramValue, recordHistogramValue, recordHistogramValue, recordHistogramValue, recordHistogramValue, recordServiceCheckRun, recordSetValue, recordSetValue, serviceCheck, stop, time, time, timeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, count, count, count, count, count, count, countWithTimestamp, countWithTimestamp, countWithTimestamp, countWithTimestamp, decrement, decrement, decrementCounter, decrementCounter, distribution, distribution, distribution, distribution, distribution, distribution, gauge, gauge, gauge, gauge, gauge, gauge, gaugeWithTimestamp, gaugeWithTimestamp, gaugeWithTimestamp, gaugeWithTimestamp, histogram, histogram, histogram, histogram, histogram, histogram, increment, increment, incrementCounter, incrementCounter, recordDistributionValue, recordDistributionValue, recordDistributionValue, recordDistributionValue, recordDistributionValue, recordDistributionValue, recordEvent, recordExecutionTime, recordExecutionTime, recordExecutionTime, recordGaugeValue, recordGaugeValue, recordGaugeValue, recordGaugeValue, recordGaugeValue, recordGaugeValue, recordHistogramValue, recordHistogramValue, recordHistogramValue, recordHistogramValue, recordHistogramValue, recordHistogramValue, recordServiceCheckRun, recordSetValue, recordSetValue, serviceCheck, stop, time, time, timepublic void recordDistributionValues(String aspect, double[] values, double sampleRate, String... tags)
DirectStatsDClientThe method doesn't take care of breaking down the values array if it is too large. It's up to the caller to make sure the size is kept reasonable.
This method is a DataDog extension, and may not work with other servers.
This method is non-blocking and is guaranteed not to throw an exception.
recordDistributionValues in interface DirectStatsDClientaspect - the name of the distributionvalues - the values to be incorporated in the distributionsampleRate - percentage of time metric to be senttags - array of tags to be added to the datapublic void recordDistributionValues(String aspect, long[] values, double sampleRate, String... tags)
DirectStatsDClientThe method doesn't take care of breaking down the values array if it is too large. It's up to the caller to make sure the size is kept reasonable.
This method is a DataDog extension, and may not work with other servers.
This method is non-blocking and is guaranteed not to throw an exception.
recordDistributionValues in interface DirectStatsDClientaspect - the name of the distributionvalues - the values to be incorporated in the distributionsampleRate - percentage of time metric to be senttags - array of tags to be added to the dataCopyright © 2025. All rights reserved.