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
{{ message }}
Repository navigation
getSession().setId() called from Application Insights SDK 2.6.2 ignored with agent 3.2.1 #1928
The session_Id field in AI tables should match the value overridden by ThreadContext.getRequestTelemetryContext().getHttpRequestTelemetry().getContext().getSession().setId().
Actual behavior
setId is ignored.
To Reproduce
Steps to reproduce the behavior:
Create a Java Springboot project.
In an API implementation:
ThreadContext.getRequestTelemetryContext().getHttpRequestTelemetry().getContext().getSession().setId("new-session-id");
Perform a HTTP request towards that API
session_Id in request table of Application Insights stays empty.
Activity
trask commentedon Oct 26, 2021
thanks for reporting this Luca Gabriele Giuliani (@lgiuliani80)! I've put in a PR to address this and it will be included in the next release