public interface StatsDClient
See the spec : https://github.com/statsd/statsd/blob/master/docs/metric_types.md
| Modifier and Type | Method and Description |
|---|---|
void |
count(byte[] aspect,
double delta,
double sampleRate,
Tag... tags)
Adjusts the specified counter by a given delta.
|
void |
count(byte[] aspect,
double delta,
Tag... tags)
Adjusts the specified counter by a given delta.
|
void |
count(byte[] aspect,
long delta,
double sampleRate,
Tag... tags)
Adjusts the specified counter by a given delta.
|
void |
count(byte[] aspect,
long delta,
Tag... tags)
Adjusts the specified counter by a given delta.
|
void |
gauge(byte[] aspect,
char deltaSign,
double value,
Tag... tags)
Records the delta value for the specified named gauge.
|
void |
gauge(byte[] aspect,
char deltaSign,
long value,
Tag... tags)
Records the delta value for the specified named gauge.
|
void |
gauge(byte[] aspect,
double value,
double sampleRate,
Tag... tags)
Records the latest fixed value for the specified named gauge.
|
void |
gauge(byte[] aspect,
double value,
Tag... tags)
Records the latest fixed value for the specified named gauge.
|
void |
gauge(byte[] aspect,
long value,
double sampleRate,
Tag... tags)
Records the latest fixed value for the specified named gauge.
|
void |
gauge(byte[] aspect,
long value,
Tag... tags)
Records the latest fixed value for the specified named gauge.
|
void |
histogram(byte[] aspect,
double value,
double sampleRate,
Tag... tags)
Records a value for the specified named histogram.
|
void |
histogram(byte[] aspect,
double value,
Tag... tags)
Records a value for the specified named histogram.
|
void |
histogram(byte[] aspect,
long value,
double sampleRate,
Tag... tags)
Records a value for the specified named histogram.
|
void |
histogram(byte[] aspect,
long value,
Tag... tags)
Records a value for the specified named histogram.
|
void |
meter(byte[] aspect,
double value,
Tag... tags)
Records a value for the specified named meter.
|
void |
meter(byte[] aspect,
long value,
Tag... tags)
Records a value for the specified named meter.
|
void |
set(byte[] aspect,
double value,
double sampleRate,
Tag... tags)
Records a value for the specified named set.
|
void |
set(byte[] aspect,
double value,
Tag... tags)
Records a value for the specified named set.
|
void |
set(byte[] aspect,
long value,
double sampleRate,
Tag... tags)
Records a value for the specified named set.
|
void |
set(byte[] aspect,
long value,
Tag... tags)
Records a value for the specified named distribution.
|
void |
time(byte[] aspect,
long timeInMs,
double sampleRate,
Tag... tags)
Records an execution time in milliseconds for the specified named operation.
|
void |
time(byte[] aspect,
long timeInMs,
Tag... tags)
Records an execution time in milliseconds for the specified named operation.
|
void gauge(byte[] aspect,
long value,
Tag... tags)
aspect - the name of the gaugevalue - the new reading of the gaugevoid gauge(byte[] aspect,
char deltaSign,
long value,
Tag... tags)
aspect - the name of the gaugedeltaSign - either '+' or '-' to indicate either increase or decrease gauge valuevalue - the (positive!) change of valuevoid gauge(byte[] aspect,
long value,
double sampleRate,
Tag... tags)
aspect - 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 datavoid gauge(byte[] aspect,
double value,
Tag... tags)
aspect - the name of the gaugevalue - the new reading of the gaugevoid gauge(byte[] aspect,
char deltaSign,
double value,
Tag... tags)
aspect - the name of the gaugedeltaSign - either '+' or '-' to indicate either increase or decrease gauge valuevalue - the (positive!) change of valuevoid gauge(byte[] aspect,
double value,
double sampleRate,
Tag... tags)
aspect - 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 datavoid count(byte[] aspect,
long delta,
Tag... tags)
aspect - the name of the counter to adjustdelta - the amount to adjust the counter bytags - array of tags to be added to the datavoid count(byte[] aspect,
long delta,
double sampleRate,
Tag... tags)
aspect - 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 datavoid count(byte[] aspect,
double delta,
Tag... tags)
aspect - the name of the counter to adjustdelta - the amount to adjust the counter bytags - array of tags to be added to the datavoid count(byte[] aspect,
double delta,
double sampleRate,
Tag... tags)
aspect - 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 datavoid time(byte[] aspect,
long timeInMs,
Tag... tags)
aspect - the name of the timed operationtimeInMs - the time in millisecondstags - array of tags to be added to the datavoid time(byte[] aspect,
long timeInMs,
double sampleRate,
Tag... tags)
aspect - 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 datavoid histogram(byte[] aspect,
long value,
Tag... tags)
aspect - the name of the histogramvalue - the value to be incorporated in the histogramtags - array of tags to be added to the datavoid histogram(byte[] aspect,
long value,
double sampleRate,
Tag... tags)
aspect - 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 datavoid histogram(byte[] aspect,
double value,
Tag... tags)
aspect - the name of the histogramvalue - the value to be incorporated in the histogramtags - array of tags to be added to the datavoid histogram(byte[] aspect,
double value,
double sampleRate,
Tag... tags)
aspect - 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 datavoid set(byte[] aspect,
long value,
Tag... tags)
aspect - the name of the distributionvalue - the value to be incorporated in the distributiontags - array of tags to be added to the datavoid set(byte[] aspect,
long value,
double sampleRate,
Tag... tags)
aspect - the name of the setvalue - the value to be incorporated in the setsampleRate - percentage of time metric to be senttags - array of tags to be added to the datavoid set(byte[] aspect,
double value,
Tag... tags)
aspect - the name of the setvalue - the value to be incorporated in the settags - array of tags to be added to the datavoid set(byte[] aspect,
double value,
double sampleRate,
Tag... tags)
aspect - the name of the setvalue - the value to be incorporated in the setsampleRate - percentage of time metric to be senttags - array of tags to be added to the datavoid meter(byte[] aspect,
long value,
Tag... tags)
aspect - the name of the metervalue - the value to be incorporated in the metertags - array of tags to be added to the datavoid meter(byte[] aspect,
double value,
Tag... tags)
aspect - the name of the metervalue - the value to be incorporated in the metertags - array of tags to be added to the dataCopyright © 2021. All rights reserved.