docs: static void recordMessageEvent(
        Span span, long id, Type type, long uncompressedMessageSize, long compressedMessageSize) {
      MessageEvent messageEvent =
          MessageEvent.builder(type, id)
              .setUncompressedMessageSize(uncompressedMessageSize)
              .setCompressedMessageSize(compressedMessageSize)
              .build();
      span.addMessageEvent(messageEvent);
    }