Skip to content

Commit 5b26f00

Browse files
chore: Remove ai.monitoring.record_token_usage() (#7553)
Closes #6894
1 parent a55fbe0 commit 5b26f00

2 files changed

Lines changed: 1 addition & 55 deletions

File tree

‎MIGRATION_GUIDE.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ Looking to upgrade from Sentry SDK 2.x to 3.x? Here's a comprehensive list of wh
145145
- The `enable_logs` option was removed. Using Sentry's logging API now works without requiring setting `enable_logs=True`.
146146
- The `enable_metrics` option was removed.
147147
- The deprecated `@ai_track` decorator was removed.
148+
- The deprecated `record_token_usage` function was removed.
148149
- The deprecated `push_scope` and `configure_scope` APIs have been removed. Use `with new_scope():` to push a new scope and `scope = get_current_scope()` to retrieve the current scope instead.
149150
- The experimental `max_spans` option was removed.
150151
- The experimental `before_send_log` option was removed. Use the top-level `before_send_log` instead.

‎sentry_sdk/ai/monitoring.py‎

Lines changed: 0 additions & 55 deletions
This file was deleted.

0 commit comments

Comments
 (0)