[KYRA: 1) open with 2-3 very simple and clear sentences that you can now monitor and observce any external framework in orq using our Traces feature. 2) Follow with stating the different methods we have to set it up. (e.g. SDK, but we also have the @traced decorator) 3) Ideally, the implicit underlying tone is, how easy it is to set it up. 4) Also make clear that the native integration we have with some like langchain and langgraph allows for better mapping of the events. 5) Ideally it is a tutorial for people who currently have an agent in another system and we explain them really simply and well how they start tracing that other system with Orq 6) Use complex agents for your examples to cover how good our tracing module is in including different tools etc. 7) I’ve been getting questions on data and privacy, so maybe good to include a paragraph at the end around this topic]
Prerequisites
- Orq.ai API key
- Python 3.8+
Quick start
Let’s create a simple traced LLM call to verify your setup:https://app.orq.ai/traces to see your first trace!
Endpoint Configuration
- Base endpoint URL (check if Orq has regional variants & self-hosting)
- Authentication method (headers format)
- Protocol support (HTTP/protobuf, gRPC status)
- Signal specific endpoints:
-
OTEL_EXPORTER_OTLP_ENDPOINT -
OTEL_EXPORTER_OTLP_HEADERS -
Signal-specific endpoints
Integration Examples
- Native SDK Integration - use Orq.ai SDK
- Framework-Specific Examples:
- LangChain
- LlamaIndex
- Vercel AI SDK
- Google ADK
- CrewAI
- OpenAI Agents
- Custom Implementation using OpenTelemetry SDK directly
Property Mapping / Attribute Reference
This is crucial - document how OTel attributes map to orq.ai’s data model:- Trace-level attributes (name, userId, sessionId, tags, metadata)
- Observation/Span-level attributes (type, input, output, model, usage, cost)
- GenAI semantic conventions support
- Custom orq.ai-specific attributes (e.g.,
orq.*namespace)
Advanced Features
- Using OpenTelemetry Collector for fan-out
- Filtering spans before sending to orq.ai
- Distributed tracing / context propagation
- Hybrid tracing (sending to multiple backends)
Supported Instrumentation Libraries
- Table or list of compatible OTel instrumentation SDKs
- Coverage matrix (OpenLLMetry, OpenLIT, Arize, etc.)
Troubleshooting
- Common errors and solutions
- Version requirements
- Protocol limitations
- Self-hosting considerations (if applicable)
Best Practices
- Filtering strategies
- Metadata organization
- Performance considerations
- Security recommendations