Analytics in Rasa open source

Hi, I understand that Analytics is part of Rasa Pro. I was wondering if some of these could be replicated by explicitly logging certain metrics in Rasa open source into a DB for further analysis. I am specifically interested in sender_id and session_id. For the former, I can use the Tracker object. Is there anyway to get the session_id?