public class NoOpStatsDClient extends Object implements StatsDClient
| Constructor and Description |
|---|
NoOpStatsDClient() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Stop the statsd client.
|
void |
count(String aspect,
double delta,
double sampleRate,
String... tags)
Adjusts the specified counter by a given delta.
|
void |
count(String aspect,
double delta,
double sampleRate,
TagsCardinality cardinality,
String... tags)
Adjusts the specified counter by a given delta.
|
void |
count(String aspect,
double delta,
String... tags)
Adjusts the specified counter by a given delta.
|
void |
count(String aspect,
long delta,
double sampleRate,
String... tags)
Adjusts the specified counter by a given delta.
|
void |
count(String aspect,
long delta,
double sampleRate,
TagsCardinality cardinality,
String... tags)
Adjusts the specified counter by a given delta.
|
void |
count(String aspect,
long delta,
String... tags)
Adjusts the specified counter by a given delta.
|
void |
countWithTimestamp(String aspect,
double delta,
long timestamp,
String... tags)
Set the counter metric at the given time to the specified value.
|
void |
countWithTimestamp(String aspect,
double delta,
long timestamp,
TagsCardinality cardinality,
String... tags)
Set the counter metric at the given time to the specified value.
|
void |
countWithTimestamp(String aspect,
long delta,
long timestamp,
String... tags)
Set the counter metric at the given time to the specified value.
|
void |
countWithTimestamp(String aspect,
long delta,
long timestamp,
TagsCardinality cardinality,
String... tags)
Set the counter metric at the given time to the specified value.
|
void |
decrement(String aspect,
double sampleRate,
String... tags)
Convenience method equivalent to
StatsDClient.decrementCounter(String, double, String[]). |
void |
decrement(String aspect,
String... tags)
Convenience method equivalent to
StatsDClient.decrementCounter(String, String[]). |
void |
decrementCounter(String aspect,
double sampleRate,
String... tags)
Decrements the specified counter by one.
|
void |
decrementCounter(String aspect,
String... tags)
Decrements the specified counter by one.
|
void |
distribution(String aspect,
double value,
double sampleRate,
String... tags)
Convenience method equivalent to
StatsDClient.recordDistributionValue(String, double, double,
String[]). |
void |
distribution(String aspect,
double value,
double sampleRate,
TagsCardinality cardinality,
String... tags)
Convenience method equivalent to
StatsDClient.recordDistributionValue(String, double, double,
TagsCardinality, String[]). |
void |
distribution(String aspect,
double value,
String... tags)
Convenience method equivalent to
StatsDClient.recordDistributionValue(String, double, String[]). |
void |
distribution(String aspect,
long value,
double sampleRate,
String... tags)
Convenience method equivalent to
StatsDClient.recordDistributionValue(String, long, double,
String[]). |
void |
distribution(String aspect,
long value,
double sampleRate,
TagsCardinality cardinality,
String... tags)
Convenience method equivalent to
StatsDClient.recordDistributionValue(String, long, double,
TagsCardinality, String[]). |
void |
distribution(String aspect,
long value,
String... tags)
Convenience method equivalent to
StatsDClient.recordDistributionValue(String, long, String[]). |
void |
gauge(String aspect,
double value,
double sampleRate,
String... tags)
Convenience method equivalent to
StatsDClient.recordGaugeValue(String, double, double, String[]). |
void |
gauge(String aspect,
double value,
double sampleRate,
TagsCardinality cardinality,
String... tags)
Convenience method equivalent to
StatsDClient.recordGaugeValue(String, double, double,
TagsCardinality, String[]). |
void |
gauge(String aspect,
double value,
String... tags)
Convenience method equivalent to
StatsDClient.recordGaugeValue(String, double, String[]). |
void |
gauge(String aspect,
long value,
double sampleRate,
String... tags)
Convenience method equivalent to
StatsDClient.recordGaugeValue(String, long, double, String[]). |
void |
gauge(String aspect,
long value,
double sampleRate,
TagsCardinality cardinality,
String... tags)
Convenience method equivalent to
StatsDClient.recordGaugeValue(String, long, double,
TagsCardinality, String[]). |
void |
gauge(String aspect,
long value,
String... tags)
Convenience method equivalent to
StatsDClient.recordGaugeValue(String, long, String[]). |
void |
gaugeWithTimestamp(String aspect,
double value,
long timestamp,
String... tags)
Set the gauge metric at the given time to the specified value.
|
void |
gaugeWithTimestamp(String aspect,
double value,
long timestamp,
TagsCardinality cardinality,
String... tags)
Set the gauge metric at the given time to the specified value.
|
void |
gaugeWithTimestamp(String aspect,
long value,
long timestamp,
String... tags)
Set the gauge metric at the given time to the specified value.
|
void |
gaugeWithTimestamp(String aspect,
long value,
long timestamp,
TagsCardinality cardinality,
String... tags)
Set the gauge metric at the given time to the specified value.
|
void |
histogram(String aspect,
double value,
double sampleRate,
String... tags)
Convenience method equivalent to
StatsDClient.recordHistogramValue(String, double, double,
String[]). |
void |
histogram(String aspect,
double value,
double sampleRate,
TagsCardinality cardinality,
String... tags)
Convenience method equivalent to
StatsDClient.recordHistogramValue(String, double, double,
TagsCardinality, String[]). |
void |
histogram(String aspect,
double value,
String... tags)
Convenience method equivalent to
StatsDClient.recordHistogramValue(String, double, String[]). |
void |
histogram(String aspect,
long value,
double sampleRate,
String... tags)
Convenience method equivalent to
StatsDClient.recordHistogramValue(String, long, double,
String[]). |
void |
histogram(String aspect,
long value,
double sampleRate,
TagsCardinality cardinality,
String... tags)
Convenience method equivalent to
StatsDClient.recordHistogramValue(String, long, double,
TagsCardinality, String[]). |
void |
histogram(String aspect,
long value,
String... tags)
Convenience method equivalent to
StatsDClient.recordHistogramValue(String, long, String[]). |
void |
increment(String aspect,
double sampleRate,
String... tags)
Convenience method equivalent to
StatsDClient.incrementCounter(String, double, String[]). |
void |
increment(String aspect,
String... tags)
Convenience method equivalent to
StatsDClient.incrementCounter(String, String[]). |
void |
incrementCounter(String aspect,
double sampleRate,
String... tags)
Increments the specified counter by one.
|
void |
incrementCounter(String aspect,
String... tags)
Increments the specified counter by one.
|
void |
recordDistributionValue(String aspect,
double value,
double sampleRate,
String... tags)
Records a value for the specified named distribution.
|
void |
recordDistributionValue(String aspect,
double value,
double sampleRate,
TagsCardinality cardinality,
String... tags)
Records a value for the specified named distribution.
|
void |
recordDistributionValue(String aspect,
double value,
String... tags)
Records a value for the specified named distribution.
|
void |
recordDistributionValue(String aspect,
long value,
double sampleRate,
String... tags)
Records a value for the specified named distribution.
|
void |
recordDistributionValue(String aspect,
long value,
double sampleRate,
TagsCardinality cardinality,
String... tags)
Records a value for the specified named distribution.
|
void |
recordDistributionValue(String aspect,
long value,
String... tags)
Records a value for the specified named distribution.
|
void |
recordEvent(Event event,
String... tags)
Records an event.
|
void |
recordExecutionTime(String aspect,
long timeInMs,
double sampleRate,
String... tags)
Records an execution time in milliseconds for the specified named operation.
|
void |
recordExecutionTime(String aspect,
long timeInMs,
double sampleRate,
TagsCardinality cardinality,
String... tags)
Records an execution time in milliseconds for the specified named operation.
|
void |
recordExecutionTime(String aspect,
long timeInMs,
String... tags)
Records an execution time in milliseconds for the specified named operation.
|
void |
recordGaugeValue(String aspect,
double value,
double sampleRate,
String... tags)
Records the latest fixed value for the specified named gauge.
|
void |
recordGaugeValue(String aspect,
double value,
double sampleRate,
TagsCardinality cardinality,
String... tags)
Records the latest fixed value for the specified named gauge.
|
void |
recordGaugeValue(String aspect,
double value,
String... tags)
Records the latest fixed value for the specified named gauge.
|
void |
recordGaugeValue(String aspect,
long value,
double sampleRate,
String... tags)
Records the latest fixed value for the specified named gauge.
|
void |
recordGaugeValue(String aspect,
long value,
double sampleRate,
TagsCardinality cardinality,
String... tags)
Records the latest fixed value for the specified named gauge.
|
void |
recordGaugeValue(String aspect,
long value,
String... tags)
Records the latest fixed value for the specified named gauge.
|
void |
recordHistogramValue(String aspect,
double value,
double sampleRate,
String... tags)
Records a value for the specified named histogram.
|
void |
recordHistogramValue(String aspect,
double value,
double sampleRate,
TagsCardinality cardinality,
String... tags)
Records a value for the specified named histogram.
|
void |
recordHistogramValue(String aspect,
double value,
String... tags)
Records a value for the specified named histogram.
|
void |
recordHistogramValue(String aspect,
long value,
double sampleRate,
String... tags)
Records a value for the specified named histogram.
|
void |
recordHistogramValue(String aspect,
long value,
double sampleRate,
TagsCardinality cardinality,
String... tags)
Records a value for the specified named histogram.
|
void |
recordHistogramValue(String aspect,
long value,
String... tags)
Records a value for the specified named histogram.
|
void |
recordServiceCheckRun(ServiceCheck sc)
Records a run status for the specified named service check.
|
void |
recordSetValue(String aspect,
String value,
String... tags)
Records a value for the specified set.
|
void |
recordSetValue(String aspect,
String value,
TagsCardinality cardinality,
String... tags)
Records a value for the specified set.
|
void |
serviceCheck(ServiceCheck sc)
Convenience method equivalent to
StatsDClient.recordServiceCheckRun(ServiceCheck sc). |
void |
stop()
Cleanly shut down this StatsD client.
|
void |
time(String aspect,
long value,
double sampleRate,
String... tags)
Convenience method equivalent to
StatsDClient.recordExecutionTime(String, long, double,
String[]). |
void |
time(String aspect,
long value,
double sampleRate,
TagsCardinality cardinality,
String... tags)
Convenience method equivalent to
StatsDClient.recordExecutionTime(String, long, double,
TagsCardinality, String[]). |
void |
time(String aspect,
long value,
String... tags)
Convenience method equivalent to
StatsDClient.recordExecutionTime(String, long, String[]). |
public void stop()
StatsDClientstop in interface StatsDClientpublic void close()
StatsDClientclose in interface StatsDClientclose in interface Closeableclose in interface AutoCloseableStatsDClient.stop()public void count(String aspect, long delta, String... tags)
StatsDClientThis 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.
count in interface StatsDClientaspect - the name of the counter to adjustdelta - the amount to adjust the counter bytags - array of tags to be added to the datapublic void count(String aspect, long delta, double sampleRate, String... tags)
StatsDClientThis 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.
count in interface StatsDClientaspect - the name of the counter to adjustdelta - the amount to adjust the counter bysampleRate - percentage of time metric to be senttags - array of tags to be added to the datapublic void count(String aspect, long delta, double sampleRate, TagsCardinality cardinality, String... tags)
StatsDClientThis 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.
count in interface StatsDClientaspect - the name of the counter to adjustdelta - the amount to adjust the counter bysampleRate - percentage of time metric to be sentcardinality - specify cardinality for Kubernetes or Docker tags added by the Agenttags - array of tags to be added to the datapublic void count(String aspect, double delta, String... tags)
StatsDClientThis 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.
count in interface StatsDClientaspect - the name of the counter to adjustdelta - the amount to adjust the counter bytags - array of tags to be added to the datapublic void count(String aspect, double delta, double sampleRate, String... tags)
StatsDClientThis 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.
count in interface StatsDClientaspect - the name of the counter to adjustdelta - the amount to adjust the counter bysampleRate - percentage of time metric to be senttags - array of tags to be added to the datapublic void count(String aspect, double delta, double sampleRate, TagsCardinality cardinality, String... tags)
StatsDClientThis 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.
count in interface StatsDClientaspect - the name of the counter to adjustdelta - the amount to adjust the counter bysampleRate - percentage of time metric to be sentcardinality - specify cardinality for Kubernetes or Docker tags added by the Agenttags - array of tags to be added to the datapublic void countWithTimestamp(String aspect, long delta, long timestamp, String... tags)
StatsDClientValues with an explicit timestamp are never aggregated and will be recorded as the metric value at the given time.
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.
countWithTimestamp in interface StatsDClientaspect - the name of the counter to adjustdelta - the amount to adjust the counter bytimestamp - timestamp of the value, as seconds from the epoch of 1970-01-01T00:00:00Ztags - array of tags to be added to the datapublic void countWithTimestamp(String aspect, long delta, long timestamp, TagsCardinality cardinality, String... tags)
StatsDClientValues with an explicit timestamp are never aggregated and will be recorded as the metric value at the given time.
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.
countWithTimestamp in interface StatsDClientaspect - the name of the counter to adjustdelta - the amount to adjust the counter bytimestamp - timestamp of the value, as seconds from the epoch of 1970-01-01T00:00:00Zcardinality - specify cardinality for Kubernetes or Docker tags added by the Agenttags - array of tags to be added to the datapublic void countWithTimestamp(String aspect, double delta, long timestamp, String... tags)
StatsDClientValues with an explicit timestamp are never aggregated and will be recorded as the metric value at the given time.
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.
countWithTimestamp in interface StatsDClientaspect - the name of the counter to adjustdelta - the amount to adjust the counter bytimestamp - timestamp of the value, as seconds from the epoch of 1970-01-01T00:00:00Ztags - array of tags to be added to the datapublic void countWithTimestamp(String aspect, double delta, long timestamp, TagsCardinality cardinality, String... tags)
StatsDClientValues with an explicit timestamp are never aggregated and will be recorded as the metric value at the given time.
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.
countWithTimestamp in interface StatsDClientaspect - the name of the counter to adjustdelta - the amount to adjust the counter bytimestamp - timestamp of the value, as seconds from the epoch of 1970-01-01T00:00:00Zcardinality - specify cardinality for Kubernetes or Docker tags added by the Agenttags - array of tags to be added to the datapublic void incrementCounter(String aspect, String... tags)
StatsDClientThis 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.
incrementCounter in interface StatsDClientaspect - the name of the counter to incrementtags - array of tags to be added to the datapublic void incrementCounter(String aspect, double sampleRate, String... tags)
StatsDClientThis 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.
incrementCounter in interface StatsDClientaspect - the name of the counter to incrementsampleRate - percentage of time metric to be senttags - array of tags to be added to the datapublic void increment(String aspect, String... tags)
StatsDClientStatsDClient.incrementCounter(String, String[]).increment in interface StatsDClientaspect - the name of the counter to incrementtags - array of tags to be added to the datapublic void increment(String aspect, double sampleRate, String... tags)
StatsDClientStatsDClient.incrementCounter(String, double, String[]).increment in interface StatsDClientaspect - the name of the counter to incrementsampleRate - percentage of time metric to be senttags - array of tags to be added to the datapublic void decrementCounter(String aspect, String... tags)
StatsDClientThis 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.
decrementCounter in interface StatsDClientaspect - the name of the counter to decrementtags - array of tags to be added to the datapublic void decrementCounter(String aspect, double sampleRate, String... tags)
StatsDClientThis 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.
decrementCounter in interface StatsDClientaspect - the name of the counter to decrementsampleRate - percentage of time metric to be senttags - array of tags to be added to the datapublic void decrement(String aspect, String... tags)
StatsDClientStatsDClient.decrementCounter(String, String[]).decrement in interface StatsDClientaspect - the name of the counter to decrementtags - array of tags to be added to the datapublic void decrement(String aspect, double sampleRate, String... tags)
StatsDClientStatsDClient.decrementCounter(String, double, String[]).decrement in interface StatsDClientaspect - the name of the counter to decrementsampleRate - percentage of time metric to be senttags - array of tags to be added to the datapublic void recordGaugeValue(String aspect, double value, String... tags)
StatsDClientThis 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.
recordGaugeValue in interface StatsDClientaspect - the name of the gaugevalue - the new reading of the gaugetags - array of tags to be added to the datapublic void recordGaugeValue(String aspect, double value, double sampleRate, String... tags)
StatsDClientThis 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.
recordGaugeValue in interface StatsDClientaspect - the name of the gaugevalue - the new reading of the gaugesampleRate - percentage of time metric to be senttags - array of tags to be added to the datapublic void recordGaugeValue(String aspect, double value, double sampleRate, TagsCardinality cardinality, String... tags)
StatsDClientThis 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.
recordGaugeValue in interface StatsDClientaspect - the name of the gaugevalue - the new reading of the gaugesampleRate - percentage of time metric to be sentcardinality - specify cardinality for Kubernetes or Docker tags added by the Agenttags - array of tags to be added to the datapublic void recordGaugeValue(String aspect, long value, String... tags)
StatsDClientThis 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.
recordGaugeValue in interface StatsDClientaspect - the name of the gaugevalue - the new reading of the gaugetags - array of tags to be added to the datapublic void recordGaugeValue(String aspect, long value, double sampleRate, String... tags)
StatsDClientThis 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.
recordGaugeValue in interface StatsDClientaspect - the name of the gaugevalue - the new reading of the gaugesampleRate - percentage of time metric to be senttags - array of tags to be added to the datapublic void recordGaugeValue(String aspect, long value, double sampleRate, TagsCardinality cardinality, String... tags)
StatsDClientThis 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.
recordGaugeValue in interface StatsDClientaspect - the name of the gaugevalue - the new reading of the gaugesampleRate - percentage of time metric to be sentcardinality - specify cardinality for Kubernetes or Docker tags added by the Agenttags - array of tags to be added to the datapublic void gauge(String aspect, double value, String... tags)
StatsDClientStatsDClient.recordGaugeValue(String, double, String[]).gauge in interface StatsDClientaspect - the name of the gaugevalue - the new reading of the gaugetags - array of tags to be added to the datapublic void gauge(String aspect, double value, double sampleRate, String... tags)
StatsDClientStatsDClient.recordGaugeValue(String, double, double, String[]).gauge in interface StatsDClientaspect - the name of the gaugevalue - the new reading of the gaugesampleRate - percentage of time metric to be senttags - array of tags to be added to the datapublic void gauge(String aspect, double value, double sampleRate, TagsCardinality cardinality, String... tags)
StatsDClientStatsDClient.recordGaugeValue(String, double, double,
TagsCardinality, String[]).gauge in interface StatsDClientaspect - the name of the gaugevalue - the new reading of the gaugesampleRate - percentage of time metric to be sentcardinality - specify cardinality for Kubernetes or Docker tags added by the Agenttags - array of tags to be added to the datapublic void gauge(String aspect, long value, String... tags)
StatsDClientStatsDClient.recordGaugeValue(String, long, String[]).gauge in interface StatsDClientaspect - the name of the gaugevalue - the new reading of the gaugetags - array of tags to be added to the datapublic void gauge(String aspect, long value, double sampleRate, String... tags)
StatsDClientStatsDClient.recordGaugeValue(String, long, double, String[]).gauge in interface StatsDClientaspect - the name of the gaugevalue - the new reading of the gaugesampleRate - percentage of time metric to be senttags - array of tags to be added to the datapublic void gauge(String aspect, long value, double sampleRate, TagsCardinality cardinality, String... tags)
StatsDClientStatsDClient.recordGaugeValue(String, long, double,
TagsCardinality, String[]).gauge in interface StatsDClientaspect - the name of the gaugevalue - the new reading of the gaugesampleRate - percentage of time metric to be sentcardinality - specify cardinality for Kubernetes or Docker tags added by the Agenttags - array of tags to be added to the datapublic void gaugeWithTimestamp(String aspect, double value, long timestamp, String... tags)
StatsDClientValues with an explicit timestamp are never aggregated and will be recorded as the metric value at the given time.
gaugeWithTimestamp in interface StatsDClientaspect - the name of the gaugevalue - the new reading of the gaugetimestamp - timestamp of the value, as seconds from the epoch of 1970-01-01T00:00:00Ztags - array of tags to be added to the datapublic void gaugeWithTimestamp(String aspect, double value, long timestamp, TagsCardinality cardinality, String... tags)
StatsDClientValues with an explicit timestamp are never aggregated and will be recorded as the metric value at the given time.
gaugeWithTimestamp in interface StatsDClientaspect - the name of the gaugevalue - the new reading of the gaugetimestamp - timestamp of the value, as seconds from the epoch of 1970-01-01T00:00:00Zcardinality - specify cardinality for Kubernetes or Docker tags added by the Agenttags - array of tags to be added to the datapublic void gaugeWithTimestamp(String aspect, long value, long timestamp, String... tags)
StatsDClientValues with an explicit timestamp are never aggregated and will be recorded as the metric value at the given time.
gaugeWithTimestamp in interface StatsDClientaspect - the name of the gaugevalue - the new reading of the gaugetimestamp - timestamp of the value, as seconds from the epoch of 1970-01-01T00:00:00Ztags - array of tags to be added to the datapublic void gaugeWithTimestamp(String aspect, long value, long timestamp, TagsCardinality cardinality, String... tags)
StatsDClientValues with an explicit timestamp are never aggregated and will be recorded as the metric value at the given time.
gaugeWithTimestamp in interface StatsDClientaspect - the name of the gaugevalue - the new reading of the gaugetimestamp - timestamp of the value, as seconds from the epoch of 1970-01-01T00:00:00Zcardinality - specify cardinality for Kubernetes or Docker tags added by the Agenttags - array of tags to be added to the datapublic void recordExecutionTime(String aspect, long timeInMs, String... tags)
StatsDClientThis 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.
recordExecutionTime in interface StatsDClientaspect - the name of the timed operationtimeInMs - the time in millisecondstags - array of tags to be added to the datapublic void recordExecutionTime(String aspect, long timeInMs, double sampleRate, String... tags)
StatsDClientThis 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.
recordExecutionTime in interface StatsDClientaspect - the name of the timed operationtimeInMs - the time in millisecondssampleRate - percentage of time metric to be senttags - array of tags to be added to the datapublic void recordExecutionTime(String aspect, long timeInMs, double sampleRate, TagsCardinality cardinality, String... tags)
StatsDClientThis 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.
recordExecutionTime in interface StatsDClientaspect - the name of the timed operationtimeInMs - the time in millisecondssampleRate - percentage of time metric to be sentcardinality - specify cardinality for Kubernetes or Docker tags added by the Agenttags - array of tags to be added to the datapublic void time(String aspect, long value, String... tags)
StatsDClientStatsDClient.recordExecutionTime(String, long, String[]).time in interface StatsDClientaspect - the name of the timed operationvalue - the time in millisecondstags - array of tags to be added to the datapublic void time(String aspect, long value, double sampleRate, String... tags)
StatsDClientStatsDClient.recordExecutionTime(String, long, double,
String[]).time in interface StatsDClientaspect - the name of the timed operationvalue - the time in millisecondssampleRate - percentage of time metric to be senttags - array of tags to be added to the datapublic void time(String aspect, long value, double sampleRate, TagsCardinality cardinality, String... tags)
StatsDClientStatsDClient.recordExecutionTime(String, long, double,
TagsCardinality, String[]).time in interface StatsDClientaspect - the name of the timed operationvalue - the time in millisecondssampleRate - percentage of time metric to be sentcardinality - specify cardinality for Kubernetes or Docker tags added by the Agenttags - array of tags to be added to the datapublic void recordHistogramValue(String aspect, double value, String... tags)
StatsDClientThis 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.
recordHistogramValue in interface StatsDClientaspect - the name of the histogramvalue - the value to be incorporated in the histogramtags - array of tags to be added to the datapublic void recordHistogramValue(String aspect, double value, double sampleRate, String... tags)
StatsDClientThis 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.
recordHistogramValue in interface StatsDClientaspect - the name of the histogramvalue - the value to be incorporated in the histogramsampleRate - percentage of time metric to be senttags - array of tags to be added to the datapublic void recordHistogramValue(String aspect, double value, double sampleRate, TagsCardinality cardinality, String... tags)
StatsDClientThis 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.
recordHistogramValue in interface StatsDClientaspect - the name of the histogramvalue - the value to be incorporated in the histogramsampleRate - percentage of time metric to be sentcardinality - specify cardinality for Kubernetes or Docker tags added by the Agenttags - array of tags to be added to the datapublic void recordHistogramValue(String aspect, long value, String... tags)
StatsDClientThis 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.
recordHistogramValue in interface StatsDClientaspect - the name of the histogramvalue - the value to be incorporated in the histogramtags - array of tags to be added to the datapublic void recordHistogramValue(String aspect, long value, double sampleRate, String... tags)
StatsDClientThis 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.
recordHistogramValue in interface StatsDClientaspect - the name of the histogramvalue - the value to be incorporated in the histogramsampleRate - percentage of time metric to be senttags - array of tags to be added to the datapublic void recordHistogramValue(String aspect, long value, double sampleRate, TagsCardinality cardinality, String... tags)
StatsDClientThis 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.
recordHistogramValue in interface StatsDClientaspect - the name of the histogramvalue - the value to be incorporated in the histogramsampleRate - percentage of time metric to be sentcardinality - specify cardinality for Kubernetes or Docker tags added by the Agenttags - array of tags to be added to the datapublic void histogram(String aspect, double value, String... tags)
StatsDClientStatsDClient.recordHistogramValue(String, double, String[]).histogram in interface StatsDClientaspect - the name of the histogramvalue - the value to be incorporated in the histogramtags - array of tags to be added to the datapublic void histogram(String aspect, double value, double sampleRate, String... tags)
StatsDClientStatsDClient.recordHistogramValue(String, double, double,
String[]).histogram in interface StatsDClientaspect - the name of the histogramvalue - the value to be incorporated in the histogramsampleRate - percentage of time metric to be senttags - array of tags to be added to the datapublic void histogram(String aspect, double value, double sampleRate, TagsCardinality cardinality, String... tags)
StatsDClientStatsDClient.recordHistogramValue(String, double, double,
TagsCardinality, String[]).histogram in interface StatsDClientaspect - the name of the histogramvalue - the value to be incorporated in the histogramsampleRate - percentage of time metric to be sentcardinality - specify cardinality for Kubernetes or Docker tags added by the Agenttags - array of tags to be added to the datapublic void histogram(String aspect, long value, String... tags)
StatsDClientStatsDClient.recordHistogramValue(String, long, String[]).histogram in interface StatsDClientaspect - the name of the histogramvalue - the value to be incorporated in the histogramtags - array of tags to be added to the datapublic void histogram(String aspect, long value, double sampleRate, String... tags)
StatsDClientStatsDClient.recordHistogramValue(String, long, double,
String[]).histogram in interface StatsDClientaspect - the name of the histogramvalue - the value to be incorporated in the histogramsampleRate - percentage of time metric to be senttags - array of tags to be added to the datapublic void histogram(String aspect, long value, double sampleRate, TagsCardinality cardinality, String... tags)
StatsDClientStatsDClient.recordHistogramValue(String, long, double,
TagsCardinality, String[]).histogram in interface StatsDClientaspect - the name of the histogramvalue - the value to be incorporated in the histogramsampleRate - percentage of time metric to be sentcardinality - specify cardinality for Kubernetes or Docker tags added by the Agenttags - array of tags to be added to the datapublic void recordDistributionValue(String aspect, double value, String... tags)
StatsDClientThis 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.
recordDistributionValue in interface StatsDClientaspect - the name of the distributionvalue - the value to be incorporated in the distributiontags - array of tags to be added to the datapublic void recordDistributionValue(String aspect, double value, double sampleRate, String... tags)
StatsDClientThis 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.
recordDistributionValue in interface StatsDClientaspect - the name of the distributionvalue - the value to be incorporated in the distributionsampleRate - percentage of time metric to be senttags - array of tags to be added to the datapublic void recordDistributionValue(String aspect, double value, double sampleRate, TagsCardinality cardinality, String... tags)
StatsDClientThis 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.
recordDistributionValue in interface StatsDClientaspect - the name of the distributionvalue - the value to be incorporated in the distributionsampleRate - percentage of time metric to be sentcardinality - specify cardinality for Kubernetes or Docker tags added by the Agenttags - array of tags to be added to the datapublic void recordDistributionValue(String aspect, long value, String... tags)
StatsDClientThis 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.
recordDistributionValue in interface StatsDClientaspect - the name of the distributionvalue - the value to be incorporated in the distributiontags - array of tags to be added to the datapublic void recordDistributionValue(String aspect, long value, double sampleRate, String... tags)
StatsDClientThis 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.
recordDistributionValue in interface StatsDClientaspect - the name of the distributionvalue - the value to be incorporated in the distributionsampleRate - percentage of time metric to be senttags - array of tags to be added to the datapublic void recordDistributionValue(String aspect, long value, double sampleRate, TagsCardinality cardinality, String... tags)
StatsDClientThis 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.
recordDistributionValue in interface StatsDClientaspect - the name of the distributionvalue - the value to be incorporated in the distributionsampleRate - percentage of time metric to be sentcardinality - specify cardinality for Kubernetes or Docker tags added by the Agenttags - array of tags to be added to the datapublic void distribution(String aspect, double value, String... tags)
StatsDClientStatsDClient.recordDistributionValue(String, double, String[]).distribution in interface StatsDClientaspect - the name of the distributionvalue - the value to be incorporated in the distributiontags - array of tags to be added to the datapublic void distribution(String aspect, double value, double sampleRate, String... tags)
StatsDClientStatsDClient.recordDistributionValue(String, double, double,
String[]).distribution in interface StatsDClientaspect - the name of the distributionvalue - the value to be incorporated in the distributionsampleRate - percentage of time metric to be senttags - array of tags to be added to the datapublic void distribution(String aspect, double value, double sampleRate, TagsCardinality cardinality, String... tags)
StatsDClientStatsDClient.recordDistributionValue(String, double, double,
TagsCardinality, String[]).distribution in interface StatsDClientaspect - the name of the distributionvalue - the value to be incorporated in the distributionsampleRate - percentage of time metric to be senttags - array of tags to be added to the datapublic void distribution(String aspect, long value, String... tags)
StatsDClientStatsDClient.recordDistributionValue(String, long, String[]).distribution in interface StatsDClientaspect - the name of the distributionvalue - the value to be incorporated in the distributiontags - array of tags to be added to the datapublic void distribution(String aspect, long value, double sampleRate, String... tags)
StatsDClientStatsDClient.recordDistributionValue(String, long, double,
String[]).distribution in interface StatsDClientaspect - the name of the distributionvalue - the value to be incorporated in the distributionsampleRate - percentage of time metric to be senttags - array of tags to be added to the datapublic void distribution(String aspect, long value, double sampleRate, TagsCardinality cardinality, String... tags)
StatsDClientStatsDClient.recordDistributionValue(String, long, double,
TagsCardinality, String[]).distribution in interface StatsDClientaspect - the name of the distributionvalue - the value to be incorporated in the distributionsampleRate - percentage of time metric to be sentcardinality - specify cardinality for Kubernetes or Docker tags added by the Agenttags - array of tags to be added to the datapublic void recordEvent(Event event, String... tags)
StatsDClientThis 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.
recordEvent in interface StatsDClientevent - The event to recordtags - array of tags to be added to the datapublic void recordServiceCheckRun(ServiceCheck sc)
StatsDClientrecordServiceCheckRun in interface StatsDClientsc - the service check objectpublic void serviceCheck(ServiceCheck sc)
StatsDClientStatsDClient.recordServiceCheckRun(ServiceCheck sc).serviceCheck in interface StatsDClientsc - the service check objectpublic void recordSetValue(String aspect, String value, String... tags)
StatsDClientSets are used to count the number of unique elements in a group. If you want to track the number of unique visitor to your site, sets are a great way to do that.
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.
recordSetValue in interface StatsDClientaspect - the name of the setvalue - the value to tracktags - array of tags to be added to the datapublic void recordSetValue(String aspect, String value, TagsCardinality cardinality, String... tags)
StatsDClientSets are used to count the number of unique elements in a group. If you want to track the number of unique visitor to your site, sets are a great way to do that.
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.
recordSetValue in interface StatsDClientaspect - the name of the setvalue - the value to trackcardinality - specify cardinality for Kubernetes or Docker tags added by the Agenttags - array of tags to be added to the dataCopyright © 2025. All rights reserved.