From bb4ada9cff9cf79038c757acc10c2b9365141754 Mon Sep 17 00:00:00 2001 From: Jason Plumb Date: Wed, 29 May 2024 10:03:11 -0700 Subject: [PATCH] linted --- docs/general/session.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/docs/general/session.md b/docs/general/session.md index 540054d4d9..37420f9c5a 100644 --- a/docs/general/session.md +++ b/docs/general/session.md @@ -13,7 +13,7 @@ the Logs, Events, and Spans generated during the Session's lifecycle. When a session reaches end of life, typically due to user inactivity or session timeout, a new session identifier will be assigned. The previous session identifier may be provided by the instrumentation so that telemetry -backends can link the two sessions (see [Session Change Event](#session-change-event) below). +backends can link the two sessions (see [Session Start Event](#session-start-event) below). ## Attributes @@ -45,15 +45,14 @@ backends can link the two sessions (see [Session Change Event](#session-change-e For instrumentation that tracks users 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. +the `session.previous_id` SHOULD be included in the event. The values of `session.id` and `session.previous_id` +MUST be different. -| Body field | Type | Description | [Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/) | +| Body field | Type | Description | [Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/) | |---------------------------------------------------------------|--------|------------------------------------------------------|-------------------------------------------------------------------------------------------------------| | [`session.id`](/docs/attributes-registry/session.md) | string | The ID of the new session being started. | `Required` | | [`session.previous_id`](/docs/attributes-registry/session.md) | string | The previous `session.id` for this user, when known. | `Conditionally Required` | - ### Session End Event ![Experimental](https://img.shields.io/badge/-experimental-blue) @@ -64,7 +63,7 @@ For instrumentation that tracks users behavior during user sessions, a `session. every time a session ends. When a session ends and continues as a new session, this event SHOULD also be emitted prior to the `session.start` event. -| Body field | Type | Description | [Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/) | +| Body field | Type | Description | [Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/) | |---------------------------------------------------------------|--------|------------------------------------------------------|-------------------------------------------------------------------------------------------------------| | [`session.id`](/docs/attributes-registry/session.md) | string | The ID of the new session being started. | `Required` |