Skip to content

Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tackling complex tasks.

Update arize-phoenix-observability.mdx (#2595)

Orce MARINKOVSKIcb1a98cabf1d
diff --git a/docs/how-to/arize-phoenix-observability.mdx b/docs/how-to/arize-phoenix-observability.mdx
index 4a28e846c..39271e222 100644
--- a/docs/how-to/arize-phoenix-observability.mdx
+++ b/docs/how-to/arize-phoenix-observability.mdx
@@ -68,7 +68,13 @@ We'll create a CrewAI application where two agents collaborate to research and w
```python
from crewai import Agent, Crew, Process, Task
from crewai_tools import SerperDevTool
+from openinference.instrumentation.crewai import CrewAIInstrumentor
+from phoenix.otel import register
+# setup monitoring for your crew
+tracer_provider = register(
+ endpoint="http://localhost:6006/v1/traces")
+CrewAIInstrumentor().instrument(skip_dep_check=True, tracer_provider=tracer_provider)
search_tool = SerperDevTool()
# Define your agents with roles and goals