Modifier and Type | Method and Description |
---|---|
MetricDescriptor |
MetricDescriptor.addGroupDescriptor(MetricGroupDescriptor... descriptors) |
MetricDescriptor |
MetricDescriptor.setDefaultValue(java.lang.Number defaultValue)
Sets the value used in intervals where usage data is not sent
(e.g.
|
MetricDescriptor |
MetricDescriptor.setMaxValue(java.lang.Number maxValue)
Sets the maximum value, for shaping Y axis in charts, or gauges (e.g.
|
MetricDescriptor |
MetricDescriptor.setMinValue(java.lang.Number minValue)
Sets the minimum value, for shaping Y axis in charts, or gauges (e.g.
|
MetricDescriptor |
MetricDescriptor.setName(java.lang.String name)
Sets the untranslated name
|
MetricDescriptor |
MetricDescriptor.setRangeAggregationMethods(AggregationMethodDescriptor.RangeAggregationMethod... aggregationMethods)
Sets the aggregation type methods for an entire time range.
|
MetricDescriptor |
MetricDescriptor.setSliceAggregationMethods(AggregationMethodDescriptor.SliceAggregationMethod... aggregationMethods)
Sets the aggregation type methods for small time periods (for example, hours
when looking at a day).
|
MetricDescriptor |
MetricDescriptor.setTranslatedUnits(java.util.Map<java.lang.String,java.lang.String> translatedUnits)
Sets the translated display units as a map where the key is the language and
the value is the translated unit of the metric (e.g.
|
MetricDescriptor |
MetricDescriptor.setUnits(java.lang.String units)
Sets the untranslated units
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<MetricDescriptor> |
ProductExtension.getMetricDescriptors(java.util.List<Group> groups)
Returns a set of metric descriptors for the metrics that will be provided
by this product.
|
Modifier and Type | Method and Description |
---|---|
MetricGroupDescriptor |
MetricGroupDescriptor.copyMetricAggregationMethods(MetricDescriptor metricDescriptor) |