From 129bfdb1271dd94f2774341c1144e0cc72715262 Mon Sep 17 00:00:00 2001 From: Giancarlo Camilo Date: Thu, 10 Mar 2022 08:14:39 -0800 Subject: [PATCH] Update README to better reflect current behaviour There's currently no limitation in the backend for providing multiple dimension sets with the same values. Each set will result in a separate metric. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 16b9937f..bff04ff9 100644 --- a/README.md +++ b/README.md @@ -117,7 +117,7 @@ putProperty("Device", new HashMap() {{ Adds a new set of dimensions that will be associated with all metric values. -**WARNING**: Every distinct value for a dimension set will result in a new CloudWatch metric. +**WARNING**: Each dimension set will result in a new CloudWatch metric (even dimension sets with the same values). If the cardinality of a particular value is expected to be high, you should consider using `setProperty` instead. @@ -137,7 +137,7 @@ putDimensions(DimensionSet.of("Operation", "Aggregator", "DeviceType", "Actuator Explicitly override all dimensions. This will remove the default dimensions. -**WARNING**: Every distinct value for a dimension set will result in a new CloudWatch metric. +**WARNING**:Each dimension set will result in a new CloudWatch metric (even dimension sets with the same values). If the cardinality of a particular value is expected to be high, you should consider using `setProperty` instead.