generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Currently, if a metric has dimensions and customers need to create alarms on metrics aggregated across all the values of the dimensions, customers need to emit the same metric with different combination of the dimensionset.
Example:
- DimensionSet: [d1, d2, d3]
- Possible Dimension Values: d1:[d1_1, d1_2]; d2:[d2_1, d2_2]; d3:[d3_1, d3_2]
If user wants to create alarms on all values of [d1, d2, d3], they need to add all combinations to the MetricsLogger.
[[d1, d2, d3],[d1, d2],[d1, d3],[d2, d3],[d1],[d2],[d3],[]]
Request here is to provide a mechanism in this library to automatically populate all combinations for the dimensions.
Example:
metricsLogger.putDimensionSetCombination(DimensionSet.of(d1, d1_1, d2, d2_2, d3, d3_1)) should add [[d1, d2, d3],[d1, d2],[d1, d3],[d2, d3],[d1],[d2],[d3],[]] as the dimensionset in the log.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request