traceloop / traceloop/openllmetry
🚀 Feature: Install less packages
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 7.4k
- Forks
- 1.1k
- Avg merge
- 8d 14h
- Merged PRs (30d)
- 2
Description
Which component is this feature for?
Traceloop SDK
🔖 Feature description
I've installed traceloop-sdk with uv, and it installed a lot of packages:
+ opentelemetry-instrumentation-alephalpha==0.39.0
+ opentelemetry-instrumentation-anthropic==0.39.0
+ opentelemetry-instrumentation-bedrock==0.39.0
+ opentelemetry-instrumentation-chromadb==0.39.0
+ opentelemetry-instrumentation-cohere==0.39.0
+ opentelemetry-instrumentation-crewai==0.39.0
+ opentelemetry-instrumentation-google-generativeai==0.39.0
+ opentelemetry-instrumentation-groq==0.39.0
+ opentelemetry-instrumentation-haystack==0.39.0
+ opentelemetry-instrumentation-lancedb==0.39.0
+ opentelemetry-instrumentation-langchain==0.39.0
+ opentelemetry-instrumentation-llamaindex==0.39.0
+ opentelemetry-instrumentation-logging==0.52b1
+ opentelemetry-instrumentation-marqo==0.39.0
+ opentelemetry-instrumentation-milvus==0.39.0
+ opentelemetry-instrumentation-mistralai==0.39.0
+ opentelemetry-instrumentation-ollama==0.39.0
+ opentelemetry-instrumentation-openai==0.39.0
+ opentelemetry-instrumentation-pinecone==0.39.0
+ opentelemetry-instrumentation-qdrant==0.39.0
+ opentelemetry-instrumentation-replicate==0.39.0
+ opentelemetry-instrumentation-requests==0.52b1
+ opentelemetry-instrumentation-sagemaker==0.39.0
+ opentelemetry-instrumentation-sqlalchemy==0.52b1
+ opentelemetry-instrumentation-threading==0.52b1
+ opentelemetry-instrumentation-together==0.39.0
+ opentelemetry-instrumentation-transformers==0.39.0
+ opentelemetry-instrumentation-urllib3==0.52b1
+ opentelemetry-instrumentation-vertexai==0.39.0
+ opentelemetry-instrumentation-watsonx==0.39.0
+ opentelemetry-instrumentation-weaviate==0.39.0
+ opentelemetry-semantic-conventions-ai==0.4.3
+ opentelemetry-util-http==0.52b1
Is there a way to limit number of packages and install only necessary?
🎤 Why is this feature needed ?
I don't really use all of these technologies in my app. This is too much.
Everywhere where openllmetry is mentioned (even your docs), they tell to use this command:
pip install traceloop-sdk
Many projects use this feature: https://stackoverflow.com/a/46775606/10037342, where extensions are listed in square brackets.
✌️ How do you aim to achieve this?
Use optional dependencies, so that only needed packages are installed.
And replace original command with:
pip install traceloop-sdk[full]
Something like that. Free to discuss, free to close 😄
🔄️ Additional Information
No response
👀 Have you spent some time to check if this feature request has been raised before?
- I checked and didn't find similar issue
Are you willing to submit PR?
None
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing how the traceloop-sdk dependencies are declared and compare that with the pip install command in the linked OpenLLMetry getting-started documentation. Determine how optional dependency groups should map to the instrumentation packages listed in the issue. Done means the default installation avoids unused instrumentation packages and the documentation presents the appropriate optional-install command.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system, developer-experience
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100