[bot] Instrument Baseten Performance Client (87,159 weekly downloads)
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- python
- Lĩnh vực
- observability
Hướng nghiên cứu
Start with the existing integrations under py/src/braintrust/integrations/ and the matrix in py/pyproject.toml to see how a wrapper is registered, then check py/noxfile.py for the session pattern. The issue lists five sync/async PerformanceClient entrypoints that need spans, so decide which ones to cover first. Done means a traced test session that runs against the package, but the scope and approach need maintainer input first.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
baseten-performance-client (import name baseten_performance_client) is Baseten's dedicated high-throughput Python client for embeddings, reranking, and classification inference against Baseten-hosted models. It is a Rust-backed (pyo3/reqwest/tokio) client distinct from both the general-purpose baseten management SDK and from calling Baseten endpoints through an OpenAI-compatible interface. This repository has zero instrumentation for it — no integration directory, wrapper, nox session, or matrix entry, and not even an incidental mention anywhere under py/.
This is a distinct execution surface from Braintrust's existing Baseten support: Braintrust currently only documents Baseten as a gateway-routed model provider for chat completions (see docs status below) — it does not cover this package's embeddings/reranking/classification execution API at all. It is also distinct from already-instrumented embedding/rerank libraries (cohere rerank, voyageai — itself still an open gap in #482) since it talks to Baseten-hosted deployments specifically via its own PerformanceClient class.
What is missing
The PerformanceClient class exposes paired sync/async execution entrypoints, none of which produce a Braintrust span today:
PerformanceClient.embed()/async_embed()— embedding execution against Baseten Embedding Inference deploymentsPerformanceClient.rerank()/async_rerank()— document reranking executionPerformanceClient.classify()/async_classify()— classification executionPerformanceClient.batch_system_one()/async_batch_system_one()— batched "System One" decision executionPerformanceClient.batch_post()/async_batch_post()— generic batched JSON request execution (e.g. against Engine-Builder-LLM completion endpoints)
All of these are high-concurrency batch execution calls (default max_concurrent_requests=256, configurable retries/hedging/timeouts via RequestProcessingPreference) that are the primary way applications drive bulk embedding/rerank/classification workloads through Baseten — currently entirely invisible to Braintrust tracing.
Weekly downloads
Weekly downloads: 87,159 (fetched 2026-11-02; https://pypistats.org/api/packages/baseten_performance_client/recent)
Braintrust docs status
not_found — checked:
- https://docs.braintrust.dev/integrations/ai-providers/baseten.md — scoped entirely to using Baseten as a model provider through Braintrust's gateway (
https://gateway.braintrust.dev/v1via the standard OpenAI SDK) for chat completions; does not mentionbaseten-performance-client, embeddings, reranking, or classification anywhere. - https://docs.braintrust.dev/guides/tracing/integrations — full tracing-integrations, agent-framework, eval-framework, and testing-framework lists checked; no mention of Baseten in any form.
Upstream sources
- GitHub: https://github.com/basetenlabs/truss/tree/main/baseten-performance-client
- PyPI: https://pypi.org/project/baseten-performance-client/ (current version 0.1.16, bumped ~2026-10-24 per release history: https://github.com/riseproject-dev/python-wheels/pull/3577)
- Docs: https://docs.baseten.co/reference/sdk/performance-client/overview
Local repo files inspected
py/src/braintrust/integrations/— nobaseten/directory, no file matchingbaseten*anywherepy/src/braintrust/wrappers/— no Baseten wrapperpy/pyproject.toml[tool.braintrust.matrix]— nobasetenentrypy/noxfile.py— notest_basetensession- Repo-wide case-insensitive grep for
basetenunderpy/— zero matches of any kind (not even incidental)
- Ngôn ngữ chính
- Python
- Star
- 22
- Fork
- 30
- Merge trung bình
- 9 giờ
- Pull request đã merge (30 ngày)
- 128
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của braintrustdata/braintrust-sdk-python
-
Temporal: add `workflow.Info.original_execution_run_id` to workflow span metadataCó thể đã có người làm @Mohith26 đã nhận 3 ngày trước. Đang mởfeature python
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
braintrustdata/braintrust-sdk-python#868 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
python
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 38/100
braintrustdata/braintrust-sdk-python#1063 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
new-integration python
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
braintrustdata/braintrust-sdk-python#999 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
python
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
braintrustdata/braintrust-sdk-python#957 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
python
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
braintrustdata/braintrust-sdk-python#956 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của braintrustdata/braintrust-sdk-python
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
FinanceFlash/unvibecode#577 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area/test type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Clodmony/starship-coop#70 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
punitarani/fli#270 ·
-
🐛 Bug 🔔 Pending processing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
jumpserver/jumpserver#17980 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
community enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
Maintainer thường phản hồi trong vòng 1 ngày