From 77110f2c131cf843b1a548b8a7771241438f4487 Mon Sep 17 00:00:00 2001 From: jrconlin Date: Thu, 14 Mar 2024 11:16:29 -0700 Subject: [PATCH] bug: Fix metric message text for source of message Closes SYNC-4193 --- autoendpoint/src/routers/webpush.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoendpoint/src/routers/webpush.rs b/autoendpoint/src/routers/webpush.rs index 7dd890014..ed708179b 100644 --- a/autoendpoint/src/routers/webpush.rs +++ b/autoendpoint/src/routers/webpush.rs @@ -226,7 +226,7 @@ impl WebPushRouter { ) -> RouterResponse { self.metrics .count_with_tags( - "notification.message_data", + "notification.message_source", notification.data.as_ref().map(String::len).unwrap_or(0) as i64, ) .with_tag("destination", destination_tag)