From 18d24005e105a13edd31a2e16db36a15111401ad Mon Sep 17 00:00:00 2001 From: Victor Dibia Date: Mon, 28 Apr 2025 12:31:19 -0700 Subject: [PATCH] Add missing dependency to tracing docs (#6421) ## Why are these changes needed? Add missing dependency to tracing docs ## Related issue number Closes #6419 ## Checks - [ ] I've included any doc changes needed for . See to build and test documentation locally. - [ ] I've added tests (if relevant) corresponding to the changes introduced in this PR. - [ ] I've made sure all auto checks have passed. --- .../docs/src/user-guide/agentchat-user-guide/tracing.ipynb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/python/packages/autogen-core/docs/src/user-guide/agentchat-user-guide/tracing.ipynb b/python/packages/autogen-core/docs/src/user-guide/agentchat-user-guide/tracing.ipynb index 9c3014e59..0756f4906 100644 --- a/python/packages/autogen-core/docs/src/user-guide/agentchat-user-guide/tracing.ipynb +++ b/python/packages/autogen-core/docs/src/user-guide/agentchat-user-guide/tracing.ipynb @@ -15,7 +15,7 @@ "To begin, you need to install the OpenTelemetry Python package. You can do this using pip:\n", "\n", "```bash\n", - "pip install opentelemetry-sdk\n", + "pip install opentelemetry-sdk opentelemetry-exporter-otlp-proto-grpc\n", "```\n", "\n", "Once you have the SDK installed, the simplest way to set up tracing in AutoGen is to:\n", @@ -374,7 +374,8 @@ "metadata": {}, "source": [ "\n", - "In the code above, we create a new span for each message sent by the agent. We set attributes on the span to include the agent's name and the message content. This allows us to trace the flow of messages through our application and understand how they are processed." + "In the code above, we create a new span for each message sent by the agent. We set attributes on the span to include the agent's name and the message content. This allows us to trace the flow of messages through our application and understand how they are processed. \n", + " " ] } ],