You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Check if `_sessionFlusher` exists because it is initialized (defined) only when the `autoSessionTracking` is enabled.
85
+
// The expectation is that session aggregates are only sent when `autoSessionTracking` is enabled.
86
+
// TODO(v9): Our goal in the future is to not have the `autoSessionTracking` option and instead rely on integrations doing the creation and sending of sessions. We will not have a central kill-switch for sessions.
87
+
// TODO(v9): This should move into the httpIntegration.
// Check if `_sessionFlusher` exists because it is initialized only when the `autoSessionTracking` is enabled.
107
+
// The expectation is that session aggregates are only sent when `autoSessionTracking` is enabled.
108
+
// TODO(v9): Our goal in the future is to not have the `autoSessionTracking` option and instead rely on integrations doing the creation and sending of sessions. We will not have a central kill-switch for sessions.
109
+
// TODO(v9): This should move into the httpIntegration.
Copy file name to clipboardExpand all lines: packages/core/src/sessionflusher.ts
+6-1
Original file line number
Diff line number
Diff line change
@@ -14,8 +14,10 @@ type ReleaseHealthAttributes = {
14
14
};
15
15
16
16
/**
17
-
* @inheritdoc
17
+
* @deprecated `SessionFlusher` is deprecated and will be removed in the next major version of the SDK.
18
18
*/
19
+
// TODO(v9): The goal for the SessionFlusher is to become a stupidly simple mechanism to aggregate "Sessions" (actually "RequestSessions"). It should probably live directly inside the Http integration/instrumentation.
0 commit comments