| 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 |
[!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.
To connect to your Application Insights service in Composer, you need to add your instrumentation key to the project.
-
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.":::
-
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.":::
-
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:
- A subscription to Microsoft Azure.
- Get started with Application Insights.
- The basic concepts of Log queries in Azure Monitor.
- Example Kusto queries for Adaptive dialogs in Composer.
[!INCLUDEfooter-include]