Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 2.66 KB

File metadata and controls

47 lines (31 loc) · 2.66 KB
title description keywords ms.date ms.topic author ms.author ms.reviewer ms.custom ms.collection
Capture telemetry with Application Insights
Use Bot Framework Composer with Power Virtual Agents to send event data to a telemetry service.
composer, adaptive card
11/03/2022
article
iaanw
iawilt
makolomi
cex
virtualagent

Capture telemetry with Application Insights

[!INCLUDE Composer integrated with PVA]s

You can use Bot Framework Composer with Power Virtual Agents to send event data to a telemetry service in Application Insights. Telemetry offers insights into your bot by showing which features are used the most, detects unwanted behavior, and provides data on availability, performance, and usage.

Important

Application Insights is a feature of Azure Monitor, an extensible Application Performance Management (APM) tool that allows you to monitor your live applications. It requires a subscription to Microsoft Azure.

Connect Application Insights

To connect to your Application Insights service in Composer, you need to add your instrumentation key to the project.

  1. In Composer, go to the Configure page.

    :::image type="content" source="media/advanced-bot-framework-composer-capture-telemetry/configure-tab.png" alt-text="Screenshot of the configure tab.":::

  2. Enable Advanced Settings View (json).

    :::image type="content" source="media/advanced-bot-framework-composer-capture-telemetry/advanced-settings.png" alt-text="Screenshot of the Advanced Settings View toggle.":::

  3. Find the applicationInsights section, then add your Application Insights instrumentation key to the instrumentationKey setting.

    :::image type="content" source="media/advanced-bot-framework-composer-capture-telemetry/Configure_AppInsights_Key.png" alt-text="Screenshot of the applicationInsight key in the project JSON.":::

To learn more on how to set up and use Application Insights and create queries for Composer's Adaptive dialogs, see these resources:

[!INCLUDEfooter-include]