getsentry / getsentry/sentry-python

Instrument `generate_videos`

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

Mô tả

## Problem

`Models.generate_videos` (and async variant) is not instrumented. Video generation returns a `GenerateVideosOperation` (long-running operation) and supports text-to-video, image-to-video, frame interpolation, and video extension.

Growing in usage with Veo models.

## Files

* `sentry_sdk/integrations/google_genai/__init__.py` — `setup_once()` needs additional patches

## Acceptance Criteria

* `generate_videos` calls produce spans
* Async variant is also instrumented
* Model name and prompt are captured (prompt respects PII settings)
* Tests verify span creation

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.