Skip to content

Commit

Permalink
fix: shopify invalid_event metric prometheus label
Browse files Browse the repository at this point in the history
Signed-off-by: Sai Sankeerth <[email protected]>
  • Loading branch information
Sai Sankeerth committed Mar 20, 2024
1 parent 906ea3f commit 9d8080f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/v0/sources/shopify/transform.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
});
Expand Down

0 comments on commit 9d8080f

Please sign in to comment.