Skip to content

Commit 06a6845

Browse files
committed
fix
1 parent aca447d commit 06a6845

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/ai-foundry/how-to/develop/trace-application.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,15 +103,15 @@ If you are using the OpenAI SDK to develop intelligent applications you can inst
103103
>
104104
> :::image type="content" source="../../media/how-to/develop/trace-application/tracing-copy-connection-string.png" alt-text="A screenshot showing how to copy the connection string to the underlying Azure Application Insights resource from a project." lightbox="../../media/how-to/develop/trace-application/tracing-copy-connection-string.png":::
105105

106-
1. We want to send tracing information to Azure AI Foundry. To do that, we need to create an OpenTelemetry exporter and configure it with the connection string to the Azure Application Insights that is used by our project.
106+
1. Configure OpenTelemetry to send traces to the Azure Application Insights used by Azure AI Foundry:
107107

108108
```python
109109
from azure.monitor.opentelemetry import configure_azure_monitor
110110

111111
configure_azure_monitor(connection_string=connection_string)
112112
```
113113

114-
1. By default, OpenTelemetry doesn't capture the inputs and outputs. To enable that, use the environment variable `OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT=true`. Ensure this environment variable is configured in the environment level where your code is running.
114+
1. By default, OpenTelemetry doesn't capture inputs and outputs. Use the environment variable `OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT=true` to capture it. Ensure this environment variable is configured in the environment level where your code is running.
115115

116116
1. Use the OpenAI SDK in the same way you are used to:
117117

0 commit comments

Comments
 (0)