def start_session
      return unless Bugsnag.configuration.enable_sessions
      start_delivery_thread
      start_time = Time.now().utc().strftime('%Y-%m-%dT%H:%M:00')
      new_session = {
        :id => SecureRandom.uuid,
        :startedAt => start_time,
        :events => {
          :handled => 0,
          :unhandled => 0
        }
      }
      SessionTracker.set_current_session(new_session)
      add_session(start_time)
    end
def start_session
      return unless Bugsnag.configuration.enable_sessions
      start_delivery_thread
      start_time = Time.now().utc().strftime('%Y-%m-%dT%H:%M:00')
      new_session = {
        :id => SecureRandom.uuid,
        :startedAt => start_time,
        :events => {
          :handled => 0,
          :unhandled => 0
        }
      }
      SessionTracker.set_current_session(new_session)
      add_session(start_time)
    end
Initializes the session tracker.

 Starts a new session, storing it on the current thread.

 This allows Bugsnag to track error rates for a release.