botframework-sdk icon indicating copy to clipboard operation
botframework-sdk copied to clipboard

Is there is any way to check the analytics of the bot?

Open rohit2912911 opened this issue 10 years ago • 11 comments

rohit2912911 avatar Jul 05 '16 06:07 rohit2912911

On the bot registration screen, you can fill in the "Azure App Insights key" field to "Provide your Azure App Insights Key if you want to receive analytics about your bot.".

willportnoy avatar Jul 05 '16 15:07 willportnoy

thanks

rohit2912911 avatar Jul 07 '16 09:07 rohit2912911

I've provided the key and have been using the bot for a while. My insights shows no data. What am I doing wrong?

alexsorokoletov avatar Jul 17 '16 08:07 alexsorokoletov

Are you able to log other events to your app insights container?

willportnoy avatar Jul 18 '16 19:07 willportnoy

How do I do that with Node.js SDK?

alexsorokoletov avatar Jul 18 '16 20:07 alexsorokoletov

There is a node application insights sdk:

https://www.npmjs.com/package/applicationinsights

and here is an article describing it:

https://azure.microsoft.com/en-us/documentation/articles/app-insights-nodejs/

willportnoy avatar Jul 19 '16 22:07 willportnoy

@willportnoy, thank you. Why do I have to enter the Insights Key when I configure a bot then?

alexsorokoletov avatar Jul 20 '16 14:07 alexsorokoletov

We can additional logging to your application insights container - for example, how long it took us to call your bot, including the round-trip.

willportnoy avatar Jul 20 '16 17:07 willportnoy

So that's my question, how do I see these analytics? The resource, which key I used in the bot properties, has no events or metrics logged so far.

alexsorokoletov avatar Jul 20 '16 20:07 alexsorokoletov

@alexsorokoletov I followed the guide provided by @willportnoy and was able to see metrics in the Azure portal within a minute or so.

danmarshall avatar Aug 12 '16 21:08 danmarshall

I'm going to close this issue - feel free to open a new issue for further discussion.

willportnoy avatar Aug 24 '16 01:08 willportnoy