Real Time Telemetry for your BoT using Application Insights

Real Time Telemetry for your BoT using Application Insights

Application Insights helps us to track applications health in real time. You can track your application availability, performance issues, user’s session and diagnose crashes faster than ever. It’s provides a real time dashboard for your app to monitor your application. It is fast, very easy to configure and provide very powerful insights for your application. We can capture the real time telemetry using Application Insights for our BoT as well. There are several ways to do that integration…

Integrate Application Insights While Creating your Bot in Visual Studio

You can integrate the Application Insights during the development, as the process is exactly same as what we have seen for other project types.

If you are following the Building Your First Bot using Microsoft Bot Framework article, just have the Application Insight Integrate from the solution explorer and follow the steps to integrate the Application Insights.

aibot1.png

Must Read: Using Application Insights right from the Visual Studio 2015

Read Posts Related with Application Insights and Visual Studio

Using Application Insights for existing BoTs

If you have Application Insight already created and you want to integrate it with your existing Bot already deployed, you can update the Instrumentation key but Editing the Bot Profile.

Follow the Steps to get the Instrumentation Key: Application Insights Settings à Properties à Instrumentation Key

aibot3.png

Must Read : Getting an Application Insights Instrumentation Key inside Visual Studio itself

Open your existing Bot from My Bots section, and then Click on Edit. Scroll to the End. You will find the Instrumentation Key text box. Update the key and Save!

aibot2.PNG

That’s it

Once your Bot is connected with different channel and you should start receiving the telemetry data in your application insight portal.

Application Insight Data

aibot5.PNG

Live Stream Data

aibot4.PNG

Hope this helps !

 

Abhijit Jana

Abhijit runs the Daily .NET Tips. He started this site with a vision to have a single knowledge base of .NET tips and tricks and share post that can quickly help any developers . He is a Former Microsoft ASP.NET MVP, CodeProject MVP, Mentor, Speaker, Author, Technology Evangelist and presently working as a .NET Consultant. He blogs at http://abhijitjana.net , you can follow him @AbhijitJana . He is the author of book Kinect for Windows SDK Programming Guide.

One Comment to “Real Time Telemetry for your BoT using Application Insights”

Comments are closed.