public class Constants
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEF_DIM_NAME_TYPE
Default
Dimension.name for the type of metric submission, e.g. |
static java.lang.String |
DEF_DIM_VAL_COUNTER_COUNT
Counter.getCount() returns the total of the values put in the counter. |
static java.lang.String |
DEF_DIM_VAL_GAUGE
Default
Dimension.value for the metric type dimension added to all gauge metrics. |
static java.lang.String |
DEF_DIM_VAL_HISTO_SAMPLES
Histogram.getCount() returns the number of samples recorded, UNlike Counter and Meter. |
static java.lang.String |
DEF_DIM_VAL_HISTO_STATS
Histogram.getSnapshot() can be mapped into a StatisticSet. |
static java.lang.String |
DEF_DIM_VAL_METER_COUNT
Meter.getCount() returns the total of the values put in the counter, just like Counter.getCount(). |
static java.lang.String |
DEF_DIM_VAL_TIMER_SAMPLES
Timer.getCount() returns the number of samples recorded, UNlike Counter and Meter. |
static java.lang.String |
DEF_DIM_VAL_TIMER_STATS |
static java.lang.String |
NAME_DIMENSION_SEPARATOR
Separator of key and value segments of a metric name.
|
static java.lang.String |
NAME_PERMUTE_MARKER
If any token, whether a simple string or a dimension pair ends with this marker, then metrics will be sent once
with and once without.
|
static java.lang.String |
NAME_TOKEN_DELIMITER |
static java.lang.String |
NAME_TOKEN_DELIMITER_RGX
Delimiter of tokens in the metric name.
|
static java.lang.String |
VALID_DIMENSION_PART_RGX |
static java.lang.String |
VALID_NAME_TOKEN_RGX |
| Constructor and Description |
|---|
Constants() |
public static final java.lang.String NAME_TOKEN_DELIMITER_RGX
public static final java.lang.String NAME_TOKEN_DELIMITER
public static final java.lang.String NAME_DIMENSION_SEPARATOR
Dimension.public static final java.lang.String NAME_PERMUTE_MARKER
public static final java.lang.String VALID_NAME_TOKEN_RGX
public static final java.lang.String VALID_DIMENSION_PART_RGX
public static final java.lang.String DEF_DIM_NAME_TYPE
Dimension.name for the type of metric submission, e.g. gauge, counterSum, meterSum, ...public static final java.lang.String DEF_DIM_VAL_GAUGE
Dimension.value for the metric type dimension added to all gauge metrics.
Only numeric gauges can be reported.public static final java.lang.String DEF_DIM_VAL_COUNTER_COUNT
Counter.getCount() returns the total of the values put in the counter.
This is "counterCount" instead of just "count" or "counter" in order to search for it exclusive
to "meterCount". The CloudWatch console indexes names in a way where it is beneficial that one metric
identity is not a substring or subset of another metric's identity. In addition "counterCount" captures
that it was a coda hale Counter, vs a Meter which includes the same Counting semantics.
Final note latter "count" is preferred to "sum" to reduce word collision when aggregating over (summing) these metrics, i.e. spoken "I am summing the counts" vs "I am summing the sums"; it's a little less confusing to use different words.
public static final java.lang.String DEF_DIM_VAL_METER_COUNT
Meter.getCount() returns the total of the values put in the counter, just like Counter.getCount().public static final java.lang.String DEF_DIM_VAL_HISTO_SAMPLES
Histogram.getCount() returns the number of samples recorded, UNlike Counter and Meter.public static final java.lang.String DEF_DIM_VAL_HISTO_STATS
Histogram.getSnapshot() can be mapped into a StatisticSet. Histogram's have sliding window
mechanics.public static final java.lang.String DEF_DIM_VAL_TIMER_SAMPLES
Timer.getCount() returns the number of samples recorded, UNlike Counter and Meter.public static final java.lang.String DEF_DIM_VAL_TIMER_STATS