We are using Application Insights for our distributed logging. After having migrated from Application Insights SDK (Classic API) to the recommended OpenTelemetry Distro we are seeing a reduced usability in the UI part of Application Insights. Specifically in regards to not being able to track a session.
Previously we was able to use an implementation of ITelemetryProcessor to setup UserContext and SessionContext. Now we are adding Tags in a implementation of BaseProcessor. But I cannot seem to get the “Session Id” set so Application Insights can see and use it. Everything is logged as a Custom Property.
The same issue was happening for User Id. But this could be solved by setting a tag with the key: “endUser.id”. Is there anything similar for Session Id?
Toke Reimer Skovgaard is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.