You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Hi @natangsalgia,
According to your description, you're trying to create CloudWatch Alarms on a specific metric name while aggregating over different dimensions. I believe there're multiple ways to do that:
From my point of view, publishing the same metric with different combination of the dimensionset wouldn't enable you to aggreate over dimensions. Maybe I'm getting something wrong here and if it's the case, feel free to provide me with more context about your application and I'll be more than happy to help.
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:
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.
The text was updated successfully, but these errors were encountered: