getsentry / getsentry/sentry-python

Integration for Griptape AI

Offen
#4,330 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Feature New Integration Python Spans
Vorherrschende Sprache
Python
Sterne
2.2k
Forks
669
Ø Merge
1 T. 1 Std.
Gemergte PRs (30 T.)
213

Beschreibung

### 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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.