From 23c4b9a84b316f4a0135eac5cfbf2d161455b947 Mon Sep 17 00:00:00 2001 From: Giancarlo Camilo Date: Wed, 9 Mar 2022 10:25:09 -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 80975c12..b8af8d9b 100644 --- a/README.md +++ b/README.md @@ -93,7 +93,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. @@ -113,7 +113,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.