From cf139f55c92875762ea843c400f3d505fce1595f Mon Sep 17 00:00:00 2001 From: Maha Benzekri Date: Mon, 13 May 2024 16:41:21 +0200 Subject: [PATCH] fixup --- CountItems/CountManager.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CountItems/CountManager.js b/CountItems/CountManager.js index 4c401406..94051439 100644 --- a/CountItems/CountManager.js +++ b/CountItems/CountManager.js @@ -99,17 +99,17 @@ class CountManager { if (metricLevel === 'account' && !this.uniqueAccounts.has(resourceName)) { this.uniqueAccounts.add(resourceName); monitoring.metricsCount.inc({ metricLevel : metricLevel}); - console.log(`uniqueAccount : ${this.uniqueAccounts}`); + console.log(`uniqueAccount : ${JSON.stringify(this.uniqueAccounts)}`); } if (metricLevel === 'location' && !this.uniqueLocations.has(resourceName)) { this.uniqueLocations.add(resourceName); monitoring.metricsCount.inc({ metricLevel : metricLevel}); - console.log(`uniqueLocation : ${this.uniqueLocations}`); + console.log(`uniqueLocation : ${JSON.stringify(this.uniqueLocations)}`); } if (metricLevel === 'bucket' && !this.uniqueBuckets.has(resourceName)) { this.uniqueBuckets.add(resourceName); monitoring.metricsCount.inc({ metricLevel : metricLevel}); - console.log(`uniqueBucket : ${this.uniqueBuckets}`); + console.log(`uniqueBucket : ${JSON.stringify(this.uniqueBuckets)}`); } console.log(`resourceName : ${resourceName}`); console.log(monitoring.metricsCount);