getsentry / getsentry/sentry-python

Integration for Griptape AI

Open
#4,330 2 comments 0 reactions 0 assignees View on GitHub
Feature New Integration Python Spans
Dominant language
Python
Stars
2.2k
Forks
669
Avg merge
1d 1h
Merged PRs (30d)
213

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.