getsentry / getsentry/sentry-python

Integration for Griptape AI

未關閉
#4,330 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
Feature New Integration Python Spans
主要語言
Python
星號
2.2k
分支
669
平均合併
1 天 40 分鐘
30 天內合併 PR
212

描述

### Problem Statement

When using [Griptape](https://github.com/griptape-ai/griptape) as the AI framework, which internally relies on the OpenAI Python SDK, Sentry's current OpenAI integration does not correctly capture token usage, request durations, or cost estimates.

Potentially because Griptape wraps or abstracts OpenAI SDK calls, they are not captured by Sentry’s current instrumentation.

### Solution Brainstorm

Add support for Griptape as a first-class integration, similar to the existing OpenAI integration.
Alternatively, provide guidance or utilities for manually instrumenting Griptape's OpenAI calls to enable token tracking, durations, and cost estimates.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。