A programming framework for agentic AI
Typo in docs for 'NoOpTracerProvider' (#6915)
Nicolas Suzor6874ff709146
diff --git a/python/docs/src/user-guide/agentchat-user-guide/tracing.ipynb b/python/docs/src/user-guide/agentchat-user-guide/tracing.ipynbindex 4d3760b5c..914fcafd4 100644--- a/python/docs/src/user-guide/agentchat-user-guide/tracing.ipynb+++ b/python/docs/src/user-guide/agentchat-user-guide/tracing.ipynb@@ -97,7 +97,7 @@"AgentChat teams are run using the AutoGen Core's agent runtime.\n","In turn, the runtime is already instrumented to log, see [Core Telemetry Guide](../core-user-guide/framework/telemetry.md).\n","To disable the agent runtime telemetry, you can set the `trace_provider` to\n",- "`opentelemetry.trace.NoOpTraceProvider` in the runtime constructor.\n",+ "`opentelemetry.trace.NoOpTracerProvider` in the runtime constructor.\n","\n","Additionally, you can set the environment variable `AUTOGEN_DISABLE_RUNTIME_TRACING` to `true` to disable the agent runtime telemetry if you don't have access to the runtime constructor. For example, if you are using `ComponentConfig`.\n","```"diff --git a/python/docs/src/user-guide/core-user-guide/framework/telemetry.md b/python/docs/src/user-guide/core-user-guide/framework/telemetry.mdindex 395ebc028..6a7ede51a 100644--- a/python/docs/src/user-guide/core-user-guide/framework/telemetry.md+++ b/python/docs/src/user-guide/core-user-guide/framework/telemetry.md@@ -10,7 +10,7 @@ These are the components that are currently instrumented:```{note}To disable the agent runtime telemetry, you can set the `trace_provider` to-`opentelemetry.trace.NoOpTraceProvider` in the runtime constructor.+`opentelemetry.trace.NoOpTracerProvider` in the runtime constructor.Additionally, you can set the environment variable `AUTOGEN_DISABLE_RUNTIME_TRACING` to `true` to disable the agent runtime telemetry if you don't have access to the runtime constructor. For example, if you are using `ComponentConfig`.```