EandrewJones opened a new issue, #27:
URL: https://github.com/apache/flagon-distill/issues/27

   ## What are "User Sessions"?
   Most user behavior services provide some definition of a user "session" and 
then segment the log stream into sessions for further behavior.  For example, 
[LogRocket defines a 
session](https://docs.logrocket.com/docs/what-defines-a-session) as:
   > A session is a series of user interactions on your site, beginning with 
the first page they visit and ending with either:
   a.) a period of inactivity lasting longer than 30 minutes, or
   b.) after the user has navigated away from your app for more than 2 minutes. 
This includes closing the tab or navigating to a different domain on the tab.
   > 
   > "Activity" is defined as any user mouse movement, clicks, or scrolls.
   >
   > As an example, if your user visits your landing page, then your app, and 
then refreshes the page all within 30 minutes of each other without closing the 
tab, the entire experience is recorded in a single session. If the user returns 
back to your site after another hour, a new session recording starts from the 
moment that they do the first action.
   > 
   > LogRocket sessions also support recording across multiple tabs, so a user 
opening a link in your app in a new tab will count as the same session. This 
means that if your app is running in multiple tabs, each tab would need to be 
navigated away from in order to end a session after 2 minutes. Otherwise, it 
wouldn't end until a period of inactivity across all tabs lasting longer than 
30 minutes.
   
   ## Why do we need "User Sessions"?
   Sessions are a particularly useful unit by which to analyze user behavior 
since they represent a logical clustering of activity. Answers to simple 
questions such as:
   - How long did the user's *first* session last?
   - How long are a user's session, on average?
   - What actions did the user perform in their session?
   all provide quite a bit of insight into whether and how users engage with an 
application. Generally speaking, they are a great entry point to begin building 
one's understanding of UX in your app.
   
   ## Proposed change
   We should add a method that segregates the entire log stream into 
appropriate session buckets according to _some_ definition of a "user session." 
It need not necessarily be the LogRocket definition shared above; however, I am 
proposing that as a reasonable starting point.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@flagon.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@flagon.apache.org
For additional commands, e-mail: notifications-h...@flagon.apache.org

Reply via email to