Skip to content

chore(openai): Replace deprecated gen_ai.response.time_to_first_token with gen_ai.response.time_to_first_chunk - #7472

Merged
alexander-alderman-webb merged 2 commits into
major/3.0from
webb/use_gen_ai-response-time_to_first_chunk
Sep 14, 2026
Merged

alexander-alderman-webb merged 2 commits into
major/3.0from
webb/use_gen_ai-response-time_to_first_chunk

Conversation

@alexander-alderman-webb

Copy link
Copy Markdown
Collaborator

Description

See the deprecation in sentry-conventions:

https://github.com/getsentry/sentry-conventions/blob/4311c7eda54367489251df327008fffedee5001d/model/attributes/gen_ai/gen_ai__response__time_to_first_token.json

Issues

Reminders

@alexander-alderman-webb alexander-alderman-webb changed the title Replace deprecated gen_ai.response.time_to_first_token with gen_ai.response.time_to_first_chunk chore(openai): Replace deprecated gen_ai.response.time_to_first_token with gen_ai.response.time_to_first_chunk Sep 11, 2026
@alexander-alderman-webb
alexander-alderman-webb marked this pull request as ready for review September 11, 2026 12:00
@alexander-alderman-webb
alexander-alderman-webb requested a review from a team as a code owner September 11, 2026 12:00
@github-actions

github-actions Bot commented Sep 11, 2026 •

Copy link
Copy Markdown
Contributor

Codecov Results 📊

✅ 66857 passed | ❌ 2 failed | ⏭️ 3292 skipped | Total: 70151 | Pass Rate: 95.3% | Execution Time: 211m 38s

📊 Comparison with Base Branch

Metric Change
Total Tests 📉 -63580
Passed Tests 📉 -59743
Failed Tests 📈 +2
Skipped Tests 📉 -3839

➕ New Tests (2)

View new tests
  • test_cache_spans_item_size
    • File: tests.integrations.django.test_cache_module
    • Status: ❌ Failing
  • test_cache_spans_item_size
    • File: tests.integrations.django.test_cache_module
    • Status: ❌ Failing

❌ Failed Tests

test_cache_spans_item_size

File: tests.integrations.django.test_cache_module
Suite: py3.12-django-v6.1
Error: tests/integrations/django/test_cache_module.py:525: in test_cache_spans_item_size assert not spans[0]["attributes"]["cache.hit"] E assert not True

Stack Trace
tests/integrations/django/test_cache_module.py:525: in test_cache_spans_item_size
    assert not spans[0]["attributes"]["cache.hit"]
E   assert not True

test_cache_spans_item_size

File: tests.integrations.django.test_cache_module
Suite: py3.13-django-v6.1
Error: tests/integrations/django/test_cache_module.py:525: in test_cache_spans_item_size assert not spans[0]["attributes"]["cache.hit"] E assert not True

Stack Trace
tests/integrations/django/test_cache_module.py:525: in test_cache_spans_item_size
    assert not spans[0]["attributes"]["cache.hit"]
E   assert not True

✅ Patch coverage is 100.00%. Project has 2759 uncovered lines.
❌ Project coverage is 87.58%. Comparing base (4360b12) to head (7fc6be1).

Coverage diff
@@            Coverage Diff             @@
##        master       #PR       +/-##
==========================================
- Coverage    90.21%    87.58%    -2.63%
==========================================
  Files          193       180       -13
  Lines        25790     22221     -3569
  Branches      9532      8082     -1450
==========================================
+ Hits         23265     19462     -3803
- Misses        2525      2759      +234
- Partials      1431      1236      -195

Generated by Codecov Action

@alexander-alderman-webb
alexander-alderman-webb merged commit 9649022 into major/3.0 Sep 14, 2026
145 of 147 checks passed
@alexander-alderman-webb
alexander-alderman-webb deleted the webb/use_gen_ai-response-time_to_first_chunk branch September 14, 2026 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants