Package com.mendix.metrics
Interface Gauges
public interface Gauges
Gauges are arbitrary, persistent values.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
recordDelta
(String bucket, double delta) Records a change in the value of the specified named gauge.void
recordDelta
(String bucket, double delta, double sampleRate) Records a change in the value of the specified named gauge.void
recordDelta
(String bucket, double delta, double sampleRate, Map<String, String> tags) Records a change in the value of the specified named gauge with tags.void
recordDelta
(String bucket, double delta, Map<String, String> tags) Records a change in the value of the specified named gauge with tags.void
recordDelta
(String bucket, int delta) Records a change in the value of the specified named gauge.void
recordDelta
(String bucket, int delta, double sampleRate) Records a change in the value of the specified named gauge.void
recordDelta
(String bucket, int delta, double sampleRate, Map<String, String> tags) Records a change in the value of the specified named gauge with tags.void
recordDelta
(String bucket, int delta, Map<String, String> tags) Records a change in the value of the specified named gauge with tags.void
recordDelta
(String bucket, long delta) Records a change in the value of the specified named gauge.void
recordDelta
(String bucket, long delta, double sampleRate) Records a change in the value of the specified named gauge.void
recordDelta
(String bucket, long delta, double sampleRate, Map<String, String> tags) Records a change in the value of the specified named gauge with tags.void
recordDelta
(String bucket, long delta, Map<String, String> tags) Records a change in the value of the specified named gauge with tags.void
recordValue
(String bucket, double value) Records the latest fixed value for the specified named gauge.void
recordValue
(String bucket, double value, double sampleRate) Records the latest fixed value for the specified named gauge.void
recordValue
(String bucket, double value, double sampleRate, Map<String, String> tags) Records the latest fixed value for the specified named gauge with tags.void
recordValue
(String bucket, double value, Map<String, String> tags) Records the latest fixed value for the specified named gauge with tags.void
recordValue
(String bucket, int value) Records the latest fixed value for the specified named gauge.void
recordValue
(String bucket, int value, double sampleRate) Records the latest fixed value for the specified named gauge.void
recordValue
(String bucket, int value, double sampleRate, Map<String, String> tags) Records the latest fixed value for the specified named gauge with tags.void
recordValue
(String bucket, int value, Map<String, String> tags) Records the latest fixed value for the specified named gauge with tags.void
recordValue
(String bucket, long value) Records the latest fixed value for the specified named gauge.void
recordValue
(String bucket, long value, double sampleRate) Records the latest fixed value for the specified named gauge.void
recordValue
(String bucket, long value, double sampleRate, Map<String, String> tags) Records the latest fixed value for the specified named gauge with tags.void
recordValue
(String bucket, long value, Map<String, String> tags) Records the latest fixed value for the specified named gauge with tags.
-
Method Details
-
recordValue
Records the latest fixed value for the specified named gauge.- Parameters:
bucket
- name of the gaugevalue
- new reading of the gauge
-
recordValue
Records the latest fixed value for the specified named gauge.- Parameters:
bucket
- name of the gaugevalue
- new reading of the gaugesampleRate
- percentage of gauge metric to be sent
-
recordValue
Records the latest fixed value for the specified named gauge with tags.- Parameters:
bucket
- name of the gaugevalue
- new reading of the gaugetags
- map of tags to be added to the data
-
recordValue
Records the latest fixed value for the specified named gauge with tags.- Parameters:
bucket
- name of the gaugevalue
- new reading of the gaugesampleRate
- percentage of gauge metric to be senttags
- map of tags to be added to the data
-
recordValue
Records the latest fixed value for the specified named gauge.- Parameters:
bucket
- name of the gaugevalue
- new reading of the gauge
-
recordValue
Records the latest fixed value for the specified named gauge.- Parameters:
bucket
- name of the gaugevalue
- new reading of the gaugesampleRate
- percentage of gauge metric to be sent
-
recordValue
Records the latest fixed value for the specified named gauge with tags.- Parameters:
bucket
- name of the gaugevalue
- new reading of the gaugetags
- map of tags to be added to the data
-
recordValue
Records the latest fixed value for the specified named gauge with tags.- Parameters:
bucket
- name of the gaugevalue
- new reading of the gaugesampleRate
- percentage of gauge metric to be senttags
- map of tags to be added to the data
-
recordValue
Records the latest fixed value for the specified named gauge.- Parameters:
bucket
- name of the gaugevalue
- new reading of the gauge
-
recordValue
Records the latest fixed value for the specified named gauge.- Parameters:
bucket
- name of the gaugevalue
- new reading of the gaugesampleRate
- percentage of gauge metric to be sent
-
recordValue
Records the latest fixed value for the specified named gauge with tags.- Parameters:
bucket
- name of the gaugevalue
- new reading of the gaugetags
- map of tags to be added to the data
-
recordValue
Records the latest fixed value for the specified named gauge with tags.- Parameters:
bucket
- name of the gaugevalue
- new reading of the gaugesampleRate
- percentage of gauge metric to be senttags
- map of tags to be added to the data
-
recordDelta
Records a change in the value of the specified named gauge.- Parameters:
bucket
- name of the gaugedelta
- change in the value of the gauge
-
recordDelta
Records a change in the value of the specified named gauge.- Parameters:
bucket
- name of the gaugedelta
- change in the value of the gaugesampleRate
- percentage of gauge metric to be sent
-
recordDelta
Records a change in the value of the specified named gauge with tags.- Parameters:
bucket
- name of the gaugedelta
- change in the value of the gaugetags
- map of tags to be added to the data
-
recordDelta
Records a change in the value of the specified named gauge with tags.- Parameters:
bucket
- name of the gaugedelta
- change in the value of the gaugesampleRate
- percentage of gauge metric to be senttags
- map of tags to be added to the data
-
recordDelta
Records a change in the value of the specified named gauge.- Parameters:
bucket
- name of the gaugedelta
- change in the value of the gauge
-
recordDelta
Records a change in the value of the specified named gauge.- Parameters:
bucket
- name of the gaugedelta
- change in the value of the gaugesampleRate
- percentage of gauge metric to be sent
-
recordDelta
Records a change in the value of the specified named gauge with tags.- Parameters:
bucket
- name of the gaugedelta
- change in the value of the gaugetags
- map of tags to be added to the data
-
recordDelta
Records a change in the value of the specified named gauge with tags.- Parameters:
bucket
- name of the gaugedelta
- change in the value of the gaugesampleRate
- percentage of gauge metric to be senttags
- map of tags to be added to the data
-
recordDelta
Records a change in the value of the specified named gauge.- Parameters:
bucket
- name of the gaugedelta
- change in the value of the gauge
-
recordDelta
Records a change in the value of the specified named gauge.- Parameters:
bucket
- name of the gaugedelta
- change in the value of the gaugesampleRate
- percentage of gauge metric to be sent
-
recordDelta
Records a change in the value of the specified named gauge with tags.- Parameters:
bucket
- name of the gaugedelta
- change in the value of the gaugetags
- map of tags to be added to the data
-
recordDelta
Records a change in the value of the specified named gauge with tags.- Parameters:
bucket
- name of the gaugedelta
- change in the value of the gaugesampleRate
- percentage of gauge metric to be senttags
- map of tags to be added to the data
-