Repository navigation
feat(attributes): deprecate gen AI reasoning effort - #502
Merged
constantinius merged 1 commit intoJul 14, 2026
Merged
constantinius merged 1 commit into
constantinius merged 1 commit into
Conversation
Add the OpenTelemetry-aligned gen_ai.request.reasoning.level attribute and mark gen_ai.request.reasoning_effort as deprecated with backfill behavior. The aliases are symmetric so consumers can discover the replacement while existing data keeps being copied to the new key during the transition. References TET-2603.
constantinius
requested review from
a team,
Lms24,
cleptric,
mjq and
nsdeschenes
as code owners
July 14, 2026 12:38
Semver Impact of This PR🟡 Minor (new features) 📋 Changelog PreviewThis is how your changes will appear in the changelog. New Features ✨Attributes
🤖 This preview updates automatically when you update the PR. |
Lms24
approved these changes
Jul 14, 2026
constantinius
deleted the
constantinius/feat/attributes/TET-2603-deprecate-reasoning-effort
branch
July 14, 2026 13:32
5 tasks done
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds the OpenTelemetry-aligned
gen_ai.request.reasoning.levelattribute and deprecatesgen_ai.request.reasoning_effortin favor of it.The deprecated attribute uses
_status: "backfill"so downstream ingestion can copy existing values to the replacement during the transition, and both attributes list each other as aliases.Contributes to TET-2603.
PR Checklist
yarn testand verified that the tests pass.yarn generateto generate and format code and docs.If an attribute was added:
nextjs.function_id, notfunction_id)apply_scrubbing(i.e.manualorauto. Useneveronly for values that should never be scrubbed such as IDs)If an attribute was deprecated:
Validation
yarn generateyarn test