diff --git a/lib/utapi/utilities.js b/lib/utapi/utilities.js index 9f42c8a27f..7e53eeac87 100644 --- a/lib/utapi/utilities.js +++ b/lib/utapi/utilities.js @@ -331,6 +331,11 @@ function pushMetric(action, log, metricObj) { oldByteLength, numberOfObjects, }; + + if (removedDeleteMarkers) { + utapiObj.numberOfObjects = numberOfObjects + removedDeleteMarkers; + } + // If `authInfo` is included by the API, get the account's canonical ID for // account-level metrics and the shortId for user-level metrics. Otherwise // check if the canonical ID is already provided for account-level metrics. diff --git a/package.json b/package.json index 647425d8be..7ee15276bc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "s3", - "version": "7.10.59", + "version": "7.10.60", "description": "S3 connector", "main": "index.js", "engines": { @@ -34,7 +34,7 @@ "level-mem": "^5.0.1", "moment": "^2.26.0", "npm-run-all": "~4.1.5", - "utapi": "git+https://github.com/scality/utapi#7.10.20", + "utapi": "git+https://github.com/scality/utapi#7.10.21", "utf8": "~2.1.1", "uuid": "^3.0.1", "vaultclient": "scality/vaultclient#7.10.10", diff --git a/yarn.lock b/yarn.lock index 9854bec5b4..ccc806800e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5325,9 +5325,9 @@ user-home@^2.0.0: dependencies: os-homedir "^1.0.0" -"utapi@git+https://github.com/scality/utapi#7.10.20": - version "7.10.20" - resolved "git+https://github.com/scality/utapi#5c854c5a417194de024c29a234f11583ed76e8b0" +"utapi@git+https://github.com/scality/utapi#7.10.21": + version "7.10.21" + resolved "git+https://github.com/scality/utapi#5f129f471d9b834ad9b1f25f9841fc2678fff950" dependencies: "@hapi/joi" "^17.1.1" "@senx/warp10" "^1.0.14"