diff --git a/indexer-js-queue-handler/__snapshots__/metrics.test.js.snap b/indexer-js-queue-handler/__snapshots__/metrics.test.js.snap index 3fa7e7bac..7319a7d61 100644 --- a/indexer-js-queue-handler/__snapshots__/metrics.test.js.snap +++ b/indexer-js-queue-handler/__snapshots__/metrics.test.js.snap @@ -20,7 +20,7 @@ exports[`Metrics writes the block height for an indexer function 1`] = ` }, { "Name": "HISTORICAL", - "Value": false, + "Value": "false", }, ], "MetricName": "INDEXER_FUNCTION_LATEST_BLOCK_HEIGHT", diff --git a/indexer-js-queue-handler/metrics.js b/indexer-js-queue-handler/metrics.js index de0882052..90434f8bb 100644 --- a/indexer-js-queue-handler/metrics.js +++ b/indexer-js-queue-handler/metrics.js @@ -32,7 +32,7 @@ export default class Metrics { }, { Name: "HISTORICAL", - Value: isHistorical, + Value: isHistorical.toString(), }, ], Unit: "None",