Skip to content

feat(attributes): deprecate gen AI reasoning effort - #502

Merged
constantinius merged 1 commit into
mainfrom
constantinius/feat/attributes/TET-2603-deprecate-reasoning-effort
Jul 14, 2026
Merged

constantinius merged 1 commit into
mainfrom
constantinius/feat/attributes/TET-2603-deprecate-reasoning-effort

Conversation

@constantinius

Copy link
Copy Markdown
Contributor

Description

Adds the OpenTelemetry-aligned gen_ai.request.reasoning.level attribute and deprecates gen_ai.request.reasoning_effort in 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

  • I have run yarn test and verified that the tests pass.
  • I have run yarn generate to generate and format code and docs.

If an attribute was added:

  • The attribute is in a namespace (e.g. nextjs.function_id, not function_id)
  • I have used the correct value for apply_scrubbing (i.e. manual or auto. Use never only for values that should never be scrubbed such as IDs)

If an attribute was deprecated:

Validation

  • yarn generate
  • yarn test

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
constantinius requested review from a team, Lms24, cleptric, mjq and nsdeschenes as code owners July 14, 2026 12:38
@linear-code

linear-code Bot commented Jul 14, 2026

Copy link
Copy Markdown

TET-2603

@github-actions

Copy link
Copy Markdown

Semver Impact of This PR

🟡 Minor (new features)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


New Features ✨

Attributes

  • Deprecate gen AI reasoning effort by constantinius in #502
  • Add sentry.pageload.span_id attribute by Lms24 in #495
  • Add sentry.relay.ingress and sentry.relay.pipeline by loewenheim in #491
  • Expand grpc attributes by lucas-zimerman in #460
  • Add file.path and file.size by buenaflor in #458

🤖 This preview updates automatically when you update the PR.

@constantinius
constantinius merged commit e673974 into main Jul 14, 2026
17 checks passed
@constantinius
constantinius deleted the constantinius/feat/attributes/TET-2603-deprecate-reasoning-effort branch July 14, 2026 13:32
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