diff --git a/indexer-js-queue-handler/__snapshots__/metrics.test.js.snap b/indexer-js-queue-handler/__snapshots__/metrics.test.js.snap index 3fa7e7bac..ab32474fa 100644 --- a/indexer-js-queue-handler/__snapshots__/metrics.test.js.snap +++ b/indexer-js-queue-handler/__snapshots__/metrics.test.js.snap @@ -19,8 +19,8 @@ exports[`Metrics writes the block height for an indexer function 1`] = ` "Value": "dev", }, { - "Name": "HISTORICAL", - "Value": false, + "Name": "EXECUTION_TYPE", + "Value": "real-time", }, ], "MetricName": "INDEXER_FUNCTION_LATEST_BLOCK_HEIGHT", diff --git a/indexer-js-queue-handler/metrics.js b/indexer-js-queue-handler/metrics.js index de0882052..cd7a653ac 100644 --- a/indexer-js-queue-handler/metrics.js +++ b/indexer-js-queue-handler/metrics.js @@ -31,8 +31,8 @@ export default class Metrics { Value: process.env.STAGE, }, { - Name: "HISTORICAL", - Value: isHistorical, + Name: "EXECUTION_TYPE", + Value: isHistorical ? "historical" : "real-time", }, ], Unit: "None",