Set up Respan
Set up Respan
- Sign up — Create an account at platform.respan.ai
- Create an API key — Generate one on the API keys page
- Add credits or a provider key — Add credits on the Credits page or connect your own provider key on the Integrations page
Use AI
Use AI
Add the Docs MCP to your AI coding tool to get help building with Respan. No API key needed.
What is Weaviate?
Weaviate is an open-source vector database that supports semantic search, hybrid search, and generative search with built-in module integrations. Respan auto-instruments Weaviate operations so every object insert, query, and collection operation is captured as a traced span.Setup
Set environment variables
WEAVIATE_URL and WEAVIATE_API_KEY are not required.View your trace
Open the Traces page to see your Weaviate spans including collection creation, insert, and query operations.
Configuration
| Parameter | Type | Default | Description |
|---|---|---|---|
api_key | str | None | None | Falls back to RESPAN_API_KEY env var. |
base_url | str | None | None | Falls back to RESPAN_BASE_URL env var. |
is_auto_instrument | bool | None | False | Auto-discover installed instrumentors. Required for Traceloop instrumentors. |
customer_identifier | str | None | None | Default customer identifier for all spans. |
metadata | dict | None | None | Default metadata attached to all spans. |
environment | str | None | None | Environment tag (e.g. "production"). |
Attributes
Attach customer identifiers, thread IDs, and metadata to spans.In Respan()
Set defaults at initialization — these apply to all spans.With propagate_attributes
Override per-request using a context manager.| Attribute | Type | Description |
|---|---|---|
customer_identifier | str | Identifies the end user in Respan analytics. |
thread_identifier | str | Groups related messages into a conversation. |
metadata | dict | Custom key-value pairs. Merged with default metadata. |