From 9d8080f9d81ad73f753f9f5cd89ba74c1a0e48c2 Mon Sep 17 00:00:00 2001 From: Sai Sankeerth Date: Wed, 20 Mar 2024 17:34:03 +0530 Subject: [PATCH] fix: shopify invalid_event metric prometheus label Signed-off-by: Sai Sankeerth --- src/v0/sources/shopify/transform.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/v0/sources/shopify/transform.js b/src/v0/sources/shopify/transform.js index 4f09984054..93e3ed0c72 100644 --- a/src/v0/sources/shopify/transform.js +++ b/src/v0/sources/shopify/transform.js @@ -154,7 +154,7 @@ const processEvent = async (inputEvent, metricMetadata) => { default: if (!SUPPORTED_TRACK_EVENTS.includes(shopifyTopic)) { stats.increment('invalid_shopify_event', { - event: shopifyTopic, + writeKey: metricMetadata.writeKey, source: metricMetadata.source, shopifyTopic: metricMetadata.shopifyTopic, });