Jitsy MYSQL record info

Someone knows how to record the users who enter the logged platforms, and to which room they connect for how long.
PS my jitysy is already connected to mysql in a real domain