From ff642c1ae50579c6e9cec13f995b1a30f97f9e4b Mon Sep 17 00:00:00 2001 From: Jon Chambers Date: Mon, 5 Oct 2026 17:22:02 -0400 Subject: [PATCH] Retire an old metric tag for debugging desktop clients --- .../textsecuregcm/websocket/WebSocketConnection.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/websocket/WebSocketConnection.java b/service/src/main/java/org/whispersystems/textsecuregcm/websocket/WebSocketConnection.java index aeabb7c23..cb4275591 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/websocket/WebSocketConnection.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/websocket/WebSocketConnection.java @@ -70,7 +70,6 @@ public class WebSocketConnection { "sendMessageError"); private static final String STATUS_CODE_TAG = "status"; - private static final String STATUS_MESSAGE_TAG = "message"; private static final String ERROR_TYPE_TAG = "errorType"; private static final String EXCEPTION_TYPE_TAG = "exceptionType"; @@ -264,11 +263,6 @@ public class WebSocketConnection { } else { Tags tags = Tags.of(UserAgentTagUtil.getPlatformTag(userAgent), Tag.of(STATUS_CODE_TAG, String.valueOf(response.getStatus()))); - // TODO Remove this once we've identified the cause of message rejections from desktop clients - if (StringUtils.isNotBlank(response.getMessage())) { - tags = tags.and(Tag.of(STATUS_MESSAGE_TAG, response.getMessage())); - } - Metrics.counter(NON_SUCCESS_RESPONSE_COUNTER_NAME, tags).increment(); result = CompletableFuture.completedFuture(null);