Retire an old metric tag for debugging desktop clients

This commit is contained in:
Jon Chambers authored and Chris Eager committed 2026-10-13 13:37:12 -04:00
1 parent b6685b5140
commit ff642c1ae5
1 file changed
-6
@@ -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);