getsentry / getsentry/sentry-python

Create Ray Serve integration

Abierto
#3,231 0 comentarios 8 reacciones 0 asignados Ver en GitHub
Feature New Integration Python
Lenguaje dominante
Python
Estrellas
2.2k
Forks
669
Merge medio
1 d 1 h
PR fusionados (30 d)
213

Descripción

### Problem Statement

[From Ray Serve's docs](https://docs.ray.io/en/latest/serve/index.html):

> Ray Serve is a scalable model serving library for building online inference APIs. Serve is framework-agnostic, so you can use a single toolkit to serve everything from deep learning models built with frameworks like PyTorch, TensorFlow, and Keras, to Scikit-Learn models, to arbitrary Python business logic. It has several features and performance optimizations for serving Large Language Models such as response streaming, dynamic request batching, multi-node/multi-GPU serving, etc.

We should create a Ray Serve integration (ideally both tracing and errors). This integration was requested during a customer call with @leokster and @smeubank ([internal call notes](https://www.notion.so/sentry/Kaiko-ai-0b4c4d11e2794d358ec7dd2fdb13dcd5?pvs=4)), and it would help enhance our LLM Monitoring offering.

### Solution Brainstorm

Ray [integrates with OTel](https://docs.ray.io/en/latest/ray-observability/user-guides/ray-tracing.html), so we might want to wait until #2251 is implemented so we can use OTel for this integration. However, the Ray's OTel integration is no longer actively maintained, so we might need to fork it and maintain it ourselves.

Related: #2400 (Ray Remote integration)

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.