You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Risk and safety evaluators draw on insights gained from our previous Large Language Model projects such as GitHub Copilot and Bing. This ensures a comprehensive approach to evaluating generated responses for risk and safety severity scores. These evaluators are generated through the Azure AI Foundry Evaluation service, which employs a set of LLMs. Each model is tasked with assessing specific risks that could be present in the response from your AI system (for example, sexual content, violent content, etc.). These evaluator models are provided with risk definitions and annotate accordingly. Currently the following risks are supported:
After you deployed your application to production with continuous evaluation setup, you can begin monitoring your [evaluation results in Azure AI Foundry and Azure Monitor Application Insights](./evaluate-results.md).
201
+
After you deployed your application to production with continuous evaluation setup, you can [monitor the quality and safety of your agent with Azure AI Foundry and Azure Monitor](./monitor-applications.md).
202
202
203
203
## Related content
204
204
205
-
-[How to run evaluations online with the Azure AI Foundry SDK](./online-evaluation.md)
206
205
-[Evaluate your AI agents locally with Azure AI Evaluation SDK](./develop/agent-evaluate-sdk.md)
Copy file name to clipboardExpand all lines: articles/ai-foundry/how-to/monitor-applications.md
+53-9Lines changed: 53 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ Monitoring your generative AI applications has never been more important, due to
21
21
22
22
To use monitoring capabilities in Azure AI Foundry, you need to connect an Application Insights resource to your Azure AI Foundry project.
23
23
24
-
1. Navigate to *Monitoring* in the left navigation pane of the Azure AI Foundry portal.
24
+
1. Navigate to **Monitoring** in the left navigation pane of the Azure AI Foundry portal.
25
25
2. Select the **Application analytics** tab.
26
26
3. Create a new Application Insights resource if you don't already have one.
27
27
4. Connect the resource to your AI Foundry project.
@@ -36,22 +36,66 @@ From here, you want to begin collecting telemetry for your application that you
36
36
37
37
## Viewing monitoring results
38
38
39
-
These views are designed to bring key metrics - token consumption, latency, exceptions, response quality into a single pane of glass that provides transparency to teams to track operational health and quality, understand trends, and assess continuously to improve their application.
40
-
41
-
> [!NOTE]
42
-
> When you're sharing this workbook with your team members, they must have at least 'Reader' role to the connected Application Insights resource to view the displayed information.
39
+
In Azure AI Foundry portal, the **Application analytics** dashboard view uses signals from [Azure Monitor Application Insights](/azure/azure-monitor/app/overview-dashboard), querying it through [Azure Workbooks](/azure/azure-monitor/visualize/workbooks-overview) and creating visualizations.
43
40
44
-
### AI Foundry Portal
41
+
These views are designed to bring key metrics - token consumption, latency, exceptions, response quality into a single pane of glass that provides transparency to teams to track operational health and quality, understand trends, and assess continuously to improve their application.
45
42
46
-
Follow these steps to access and utilize the built-in monitoring views in your AI Foundry Project:
43
+
Follow these steps to access and utilize the built-in monitoring view in your AI Foundry Project:
47
44
48
45
1. Navigate to your AI Foundry Project in the Azure AI Foundry portal.
49
-
2. Select *Monitoring* from the left navigation pane.
46
+
2. Select **Monitoring** from the left navigation pane.
50
47
3. Under the **Application analytics** tab, review the overview of your application's health.
51
48
4. Use filters to specify a time range, application, and/or model to extract detailed insights.
52
49
5. If you notice issues, such as declining quality metrics, go to **Tracing** to [debug issues in your application](./develop/trace-application.md).
53
50
6. To further customize your monitoring experience and use advanced capabilities in Azure Monitor, scroll to the bottom and select **View in Azure Monitor Application Insights**.
54
51
52
+
> [!NOTE]
53
+
> When you're sharing this workbook with your team members, they must have at least 'Reader' role to the connected Application Insights resource to view the displayed information.
54
+
55
+
## Customize and share your dashboard
56
+
57
+
Application Insights is a powerful tool for application performance monitoring (APM) that provides insights into the health and performance of your applications.
58
+
59
+
You can open the **Application analytics** dashboard in Azure Monitor Application Insights workbooks gallery by selecting on **View in Azure Monitor Application Insights** link at the end of the page.
60
+
61
+
This dashboard is opened as an editable workbook where you can customize the workbook and save according to your needs.
62
+
63
+
1. Select **Edit** in the command bar.
64
+
:::image type="content" source="../media/how-to/monitor-applications/customize-dashboard-2.png" alt-text="Screenshot of the workbooks tab under monitoring highlighting the edit button in the Azure portal." lightbox="../media/how-to/monitor-applications/customize-dashboard-2.png":::
65
+
66
+
2. Modify elements as needed per your use case. Select **...** on an element to edit, add, move/resize, clone, or remove. For example, you can add a tile using KQL to track a custom attribute you're collecting and not shown in our built-in view.
67
+
:::image type="content" source="../media/how-to/monitor-applications/customize-dashboard-3.png" alt-text="Screenshot of workbooks tab under monitoring highlighting modify element buttons in Azure portal." lightbox="../media/how-to/monitor-applications/customize-dashboard-3.png":::
68
+
69
+
3. Save your latest changes and create different views as needed by selecting **Save**.
70
+
:::image type="content" source="../media/how-to/monitor-applications/customize-dashboard-4.png" alt-text="Screenshot of workbooks tab under monitoring highlighting the save button and tab in Azure portal." lightbox="../media/how-to/monitor-applications/customize-dashboard-4.png":::
71
+
72
+
4. Share with your team by selecting "Share" icon in the command bar.
73
+
:::image type="content" source="../media/how-to/monitor-applications/customize-dashboard-5.png" alt-text="Screenshot of workbooks tab under monitoring highlighting share workbook button and tab in Azure portal." lightbox="../media/how-to/monitor-applications/customize-dashboard-5.png":::
74
+
75
+
## Explore and analyze with Kusto Query Language (KQL)
76
+
77
+
[KQL (Kusto Query Language)](/kusto/query/) is a powerful query language used in Azure to explore, analyze, and visualize large volumes of telemetry and log data.
78
+
79
+
In the **Application analytics** dashboard view, you can **Open query link** by selecting on the icon in the top right for a particular tile or chart.
80
+
81
+
:::image type="content" source="../media/how-to/monitor-applications/query-link.png" alt-text="Screenshot of application analytics dashboard view highlighting the open query link button in Azure portal." lightbox="../media/how-to/monitor-applications/query-link.png":::
82
+
83
+
Once you select that, you can view and run the same KQL queries powering your monitoring view and deep dive into the related data.
84
+
85
+
:::image type="content" source="../media/how-to/monitor-applications/kql-mode.png" alt-text="Screenshot of logs highlighting KQL mode and results in Azure portal. " lightbox="../media/how-to/monitor-applications/kql-mode.png":::
86
+
87
+
## Set up Azure Alerts
88
+
89
+
You can define Azure Alert rules based on the previous KQL queries to proactively detect issues with your post-production operations in the future. Select **...** to view more options like **New alert rule**.
90
+
91
+
:::image type="content" source="../media/how-to/monitor-applications/create-new-alert-rule-1.png" alt-text="Screenshot of logs highlighting new alert rule button in Azure portal." lightbox="../media/how-to/monitor-applications/create-new-alert-rule-1.png":::
92
+
93
+
Selecting on the **New alert rule** button opens a wizard to create an alert rule on the related signal.
94
+
95
+
:::image type="content" source="../media/how-to/monitor-applications/create-new-alert-rule-2.png" alt-text="Screenshot of create an alert rule wizard in Azure portal." lightbox="../media/how-to/monitor-applications/create-new-alert-rule-2.png":::
96
+
97
+
To learn more about setting up and managing Azure Alerts to proactively address issues, see [Alerts in Azure Monitor](/azure/azure-monitor/alerts/alerts-overview).
98
+
55
99
## Related content
56
100
57
-
-[Monitor model deployments](../model-inference/how-to/monitor-models.md#metrics-explorer)
101
+
-[Monitor model deployments](../model-inference/how-to/monitor-models.md#metrics-explorer)
0 commit comments