getsentry / getsentry/sentry-python

Evaluate instrumentation for Files API

Đang mở
#5,815 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Python Spans Task
Ngôn ngữ chính
Python
Star
2.2k
Fork
669
Merge trung bình
1 ngày 1 giờ
Pull request đã merge (30 ngày)
213

Mô tả

The OpenAI integration does not instrument file management endpoints. These are supporting operations (uploading training data, batch inputs, etc.) rather than inference calls.

**Endpoints to evaluate:**

* `openai.resources.Files.create()` (upload)
* `openai.resources.Files.retrieve()`
* `openai.resources.Files.list()`
* `openai.resources.Files.delete()`
* `openai.resources.Files.content()` (download)

**Decision needed:**
Determine whether lightweight instrumentation (file ID, purpose, size) would provide useful telemetry, or if this is out of scope for GenAI monitoring. Consider that file operations are ancillary to the core inference/generation use cases.

**Reference:** [OpenAI integration compliance review](<../openai-integration-compliance-review.md>), Section 6

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.