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
Not clear if something changed in restify, but any sample that uses Application Insights requires a small fix below:
// Create HTTP serverletserver=restify.createServer();// Enable the Application Insights middleware, which helps correlate all activity// based on the incoming request.server.use(restify.plugins.bodyParser());// <== NEED THIS LINEserver.use(ApplicationInsightsWebserverMiddleware);
This enables the telemetry generated by Application Insights to use userId and sessionId that are bot specific (instead of web identifiers which don't make sense). It also adds some additional commonly used properties (ie, activityId, channelId, etc).
[bug]
The text was updated successfully, but these errors were encountered:
Sample information
21.luis-with-appinsights
20.qna-with-appinsights
Enterprise Template
Describe the bug
Not clear if something changed in
restify
, but any sample that usesApplication Insights
requires a small fix below:This enables the telemetry generated by Application Insights to use
userId
andsessionId
that are bot specific (instead of web identifiers which don't make sense). It also adds some additional commonly used properties (ie,activityId
,channelId
, etc).[bug]
The text was updated successfully, but these errors were encountered: