From 560e65229c059289ddb38ad56e633ac3cecc7315 Mon Sep 17 00:00:00 2001 From: didiergbenou-ms <117292083+didiergbenou-ms@users.noreply.github.com> Date: Mon, 17 Mar 2025 12:41:43 +0100 Subject: [PATCH] Adding message to specify that the snippet can also be used in auto-instrumentation scenarios --- .../telemetry/opentelemetry-troubleshooting-python.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/support/azure/azure-monitor/app-insights/telemetry/opentelemetry-troubleshooting-python.md b/support/azure/azure-monitor/app-insights/telemetry/opentelemetry-troubleshooting-python.md index 03e12ff3f6..8e50a1e22a 100644 --- a/support/azure/azure-monitor/app-insights/telemetry/opentelemetry-troubleshooting-python.md +++ b/support/azure/azure-monitor/app-insights/telemetry/opentelemetry-troubleshooting-python.md @@ -34,6 +34,8 @@ logger.addHandler(file) logger.addHandler(stream) ... ``` +> [!NOTE] +> In auto-instrumentation scenarios, this code snippet can also be added to your code to allow seeing internal logs of the [python auto-instrumentation agent](https://learn.microsoft.com/en-us/azure/azure-monitor/app/codeless-app-service?tabs=python). ### Test connectivity between your application host and the ingestion service