Skip to content

🚀 Feature: Install less packages #2803

@InAnYan

Description

@InAnYan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions