Class SessionIncubatingEvents

java.lang.Object
io.opentelemetry.semconv.incubating.SessionIncubatingEvents

public final class SessionIncubatingEvents extends Object
  • Field Details

    • SESSION_END

      public static final String SESSION_END
      Indicates that a session has ended.

      Notes:

      For instrumentation that tracks user behavior during user sessions, a session.end event SHOULD be emitted every time a session ends. When a session ends and continues as a new session, this event SHOULD be emitted prior to the session.start event.

      See Also:
    • SESSION_START

      public static final String SESSION_START
      Indicates that a new session has been started, optionally linking to the prior session.

      Notes:

      For instrumentation that tracks user behavior during user sessions, a session.start event MUST be emitted every time a session is created. When a new session is created as a continuation of a prior session, the session.previous_id SHOULD be included in the event. The values of session.id and session.previous_id MUST be different. When the session.start event contains both session.id and session.previous_id fields, the event indicates that the previous session has ended. If the session ID in session.previous_id has not yet ended via explicit session.end event, then the consumer SHOULD treat this continuation event as semantically equivalent to session.end(session.previous_id) and session.start(session.id).

      See Also: