docs: add Latitude observability integration#6009
Conversation
Add an observability guide for Latitude (OpenInference + OTLP), an entry in the observability overview, and the navigation entries across the English docs versions.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughThis PR introduces documentation for integrating Latitude observability with CrewAI. It adds a comprehensive integration guide covering setup, configuration, and example workflows, updates the documentation navigation index to include the new page, and adds a reference card to the observability overview. ChangesLatitude Integration Documentation
🎯 3 (Moderate) | ⏱️ ~20 minutes
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@docs/en/observability/latitude.mdx`:
- Around line 107-117: Update the hard-coded year in the Task sample: change
task1's description (the Task instance referenced as task1 and its description
string) to remove "in 2024" and use a year-agnostic phrase such as "latest" or
"recent advancements" (e.g., "Conduct a comprehensive analysis of the latest
advancements in AI" or "Conduct a comprehensive analysis of recent advancements
in AI"), ensuring the expected intent and wording remain the same and no other
references to the year are left in the Task definition.
- Around line 24-37: Add SERPER_API_KEY to the environment setup so the example
can run from a clean environment and remove the hardcoded phrase "AI in 2024" in
the Task description; specifically, update the env block to set SERPER_API_KEY
(used by SerperDevTool()) alongside LATITUDE_API_KEY, LATITUDE_PROJECT, and
OPENAI_API_KEY, and replace the stale wording "latest advancements in AI in
2024" with a timeless prompt (e.g., "latest advancements in AI") in the Task
text where SerperDevTool is instantiated.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro Plus
Run ID: f45a6842-a5a7-48d7-a200-9686638fbf61
📒 Files selected for processing (3)
docs/docs.jsondocs/en/observability/latitude.mdxdocs/en/observability/overview.mdx
|
Thanks for the review! Addressed both in f2558c6:
|
Summary
Adds a Latitude observability integration guide, alongside the existing CrewAI observability integrations (Langfuse, Arize Phoenix, Langtrace, etc.).
docs/en/observability/latitude.mdx— instruments CrewAI with the OpenInferenceCrewAIInstrumentorand exports OTLP spans to Latitude. Modeled on the existing Arize Phoenix / Langfuse pages (same "What is...?" intro, 5-step structure, References).docs/en/observability/overview.mdxunder Monitoring & Tracing Platforms.en/observability/latitudeafteren/observability/langfuseindocs/docs.json(all English versions).About Latitude
Latitude is an open-source (MIT-licensed) platform for improving production AI agents — observability, search, and evaluation. Its ingestion endpoint speaks standard OpenTelemetry (OTLP over HTTP), so CrewAI traces flow in via the OpenInference instrumentor without a vendor-specific library.
Test plan
Summary by CodeRabbit