Closed mansirusiaofc closed 1 year ago
Hi @mansirusiaofc,
I am unable to reproduce this. I deployed a Composer bot with Application Insights to Azure and was able to see items such as BotMessageReceived
.
When you configured Application Insights in Composer, did you make sure to add your Connection String, as shown in the below screenshot? I do not believe that Composer will auto-fill this field for you.
Closing this issue due to inactivity.
We have already tried this but still answers are not coming.
You don't need to provide a separate instrumentation key. It's all part of the connection string as provided in the Azure portal.
We are still not getting the result, is there any other configuration we need to change?
Have you modified the App Insights settings, and is the bot itself deployed?
Yes, the bot is deployed, and can you please clarify what modification does App Insights needs we are following this documentation https://learn.microsoft.com/en-us/composer/how-to-capture-telemetry?tabs=v2x so we are just calling custom events.
I was simply clarifying whether you made any modifications to App Insights. I followed this exact document and was unable to reproduce your problem.
Do you have permissions in Azure to log or access the App Insights data? Following the same docs exactly, I cannot reproduce the issue.
For anyone facing this issue telemetry logs or logs to the console are not logging in Application Insights. Go to configuration, and on top switch to "advance settings view" Now find a section named "telemetry". in "connectionString" Add a connection string copy from Application Insights.
Note: Note that only the instrument key puts a complete connection string.
When I enable the application insight with Bot Composer and set log personal information and logActivities to true, I can see in Application Insight log Custom Events...there is only activity data no "BotMessageReceived","BotMessageSend","QNA" or "LUIS" also inside custom dimension, "additional properties" and "answers" are not available, I'm not able to collect luis or qna data as in the document: https://learn.microsoft.com/en-us/composer/how-to-capture-telemetry?tabs=v2x
How can I enable LUIS Results and QnA Maker result in the telemetry data?