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
Tracing provides deep visibility into execution of your application by capturing detailed telemetry at each execution step. This helps diagnose issues and enhance performance by identifying problems such as inaccurate tool calls, misleading prompts, high latency, low-quality evaluation scores, and more.
24
-
25
-
This article walks you through how to instrument tracing in your AI applications using OpenTelemetry and Azure Monitor for enhanced observability and debugging.
23
+
This article walks you through how to instrument tracing in agents using Azure AI Foundry SDK with OpenTelemetry and Azure Monitor for enhanced observability and debugging.
26
24
27
25
Here's a brief overview of key concepts before getting started:
Copy file name to clipboardExpand all lines: articles/ai-foundry/how-to/develop/trace-application.md
+6-41Lines changed: 6 additions & 41 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: How to trace AI applications using OpenAI SDK
3
3
titleSuffix: Azure AI Foundry
4
-
description: This article provides instructions on how to trace your application with Azure AI Inference SDK.
4
+
description: Learn how to trace applications that uses OpenAI SDK in Azure AI Foundry
5
5
author: lgayhardt
6
6
ms.author: lagayhar
7
7
manager: scottpolly
@@ -11,7 +11,7 @@ ms.service: azure-ai-foundry
11
11
ms.topic: how-to
12
12
---
13
13
14
-
# How to trace AI applications using OpenAI SDK
14
+
# Trace AI applications using OpenAI SDK
15
15
16
16
Tracing provides deep visibility into execution of your application by capturing detailed telemetry at each execution step. This helps diagnose issues and enhance performance by identifying problems such as inaccurate tool calls, misleading prompts, high latency, low-quality evaluation scores, and more.
17
17
@@ -23,8 +23,6 @@ To complete this tutorial you need:
23
23
24
24
* An Azure AI Foundry project created.
25
25
26
-
> Azure AI Foundry projects uses Azure Application Insights to store traces for your application. While this tutorial uses an Azure AI Foundry project, you can also send your traces directly to any Azure Application Insight resource.
27
-
28
26
* An AI application that uses **OpenAI SDK** to make calls to models hosted in Azure AI Foundry.
29
27
30
28
@@ -72,7 +70,7 @@ The following steps show how to configure:
72
70
73
71
If you are using the OpenAI SDK to develop intelligent applications you can instrument it so traces are sent to Azure AI Foundry. Follow this steps:
74
72
75
-
1. Install `azure-ai-projects`, `azure-monitor-opentelemetry-exporter`, and `opentelemetry-instrumentation-openai-v2` in your environment. The following example uses `pip`:
73
+
1. Install `azure-ai-projects`, `azure-monitor-opentelemetry`, and `opentelemetry-instrumentation-openai-v2` in your environment. The following example uses `pip`:
0 commit comments