Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions app/client/src/instrumentation/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,13 @@ if (isTracingEnabled()) {
trackResources: true,
trackWebVitalsAttribution: true,
internalLoggerLevel,
sessionTracking: {
generateSessionId: () => {
// Disabling session tracing will not send any instrumentation data to the grafana backend
// Instead, hardcoding the session id to a constant value to indirecly disable session tracing
return "SESSION_ID";
},
},
});

const tracerProvider = new WebTracerProvider({
Expand Down