Skip to content

chore: Deprecate gen_ai.evaluate in favor of new gen_ai.decide - #696

Merged
alexander-alderman-webb merged 1 commit into
mainfrom
webb/decide-operation-name
Oct 12, 2026
Merged

alexander-alderman-webb merged 1 commit into
mainfrom
webb/decide-operation-name

Conversation

@alexander-alderman-webb

Copy link
Copy Markdown
Contributor

Description

Aligning with Vercel AI, that deprecated their experimental evaluate telemetry in favor of decide telemetry.

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:

@vercel

vercel Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
sentry-conventions Ready Ready Preview Oct 12, 2026 7:50am UTC

Request Review

@github-actions

Copy link
Copy Markdown

Semver Impact of This PR

🟢 Patch (bug fixes)

📋 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

  • Add integrity policy attributes by loewenheim in #691
  • Deprecate legacy MCP tool result fields by betegon in #689
  • Align MCP conventions and OAuth client identity by betegon in #671
  • Add AWS service instrumentation attributes by pabloDeputter in #672
  • Add gen_ai memory conventions by ArthurKnaus in #653

Other

  • (model) Add metric model by giortzisg in #649
  • Add enum_values entries to shorten attribute briefs by alexander-alderman-webb in #685

Bug Fixes 🐛

Attributes

  • Add search_alias to sentry.link.type attribute by Lms24 in #687
  • Remove any as valid attribute type by Lms24 in #677

Other

  • Use path.posix.join instead of path.join for Windows compatibility by alexander-alderman-webb in #688

Documentation 📚

  • (contributing) Document process for fixing a misnamed attribute by sentry-junior in #673

Internal Changes 🔧

Deps

  • Bump sharp from 0.35.4 to 0.35.5 by dependabot in #683
  • Bump source-map-js from 1.2.1 to 1.2.2 by dependabot in #675
  • Bump smol-toml from 1.8.0 to 1.9.0 by dependabot in #674
  • Bump postcss-selector-parser from 7.1.4 to 7.1.6 by dependabot in #676

Other

  • (deps-dev) Bump oxfmt to 0.72.0 to pull in patched tinypool by Lms24 in #682
  • (docs) Add link preview meta tags by Lms24 in #667
  • (publish) Stop npm version from rewriting yarn.lock by Lms24 in #678
  • Deprecate gen_ai.evaluate in favor of new gen_ai.decide by alexander-alderman-webb in #696
  • Add "evaluate" as a well-known value for gen_ai.operation.name by alexander-alderman-webb in #680
  • Deprecate mcp.tool.result.content_count by alexander-alderman-webb in #669

🤖 This preview updates automatically when you update the PR.

@linear-code

linear-code Bot commented Oct 12, 2026

Copy link
Copy Markdown

JS-3908

@alexander-alderman-webb
alexander-alderman-webb merged commit 9f1a8b5 into main Oct 12, 2026
18 checks passed
@alexander-alderman-webb
alexander-alderman-webb deleted the webb/decide-operation-name branch October 12, 2026 08:48
andreiborza added a commit to getsentry/sentry-javascript that referenced this pull request Oct 12, 2026
…cide spans (#25272)

## What

Workers AI calls to TypeSafe Jev and Cloudflare Clef models now create
`decide <model>` spans with op `gen_ai.decide`, instead of
`gen_ai.evaluate`.

## Why

`gen_ai.evaluate` is deprecated in favor of `gen_ai.decide`
(getsentry/sentry-conventions#696), to match the Vercel AI rename to
`experimental_decide`.

Closes: #25250

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
andreiborza added a commit to getsentry/sentry-javascript that referenced this pull request Oct 12, 2026
….decide spans (#25270)

## What

Jev calls from the TypeSafe and LangChain integrations now create
`decide <model>` spans with op `gen_ai.decide`, instead of
`gen_ai.evaluate`.

## Why

`gen_ai.evaluate` is deprecated in favor of `gen_ai.decide`
(getsentry/sentry-conventions#696), to match the Vercel AI rename to
`experimental_decide`.

Closes: #25249

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
andreiborza added a commit to getsentry/sentry-javascript that referenced this pull request Oct 12, 2026
…_ai.decide spans (#25274)

## What

Vercel AI `experimental_decide` calls now create `decide <model>` spans
with op `gen_ai.decide`, instead of `gen_ai.evaluate`.

## Why

`gen_ai.evaluate` is deprecated in favor of `gen_ai.decide`
(getsentry/sentry-conventions#696), to match the Vercel AI rename to
`experimental_decide`.

Closes: #25251

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
andreiborza added a commit to getsentry/sentry-javascript that referenced this pull request Oct 12, 2026
…e spans (#25281)

## What

Mastra classifier evaluations now create `decide <model>` spans with op
`gen_ai.decide`, instead of `gen_ai.evaluate`.

## Why

`gen_ai.evaluate` is deprecated in favor of `gen_ai.decide`
(getsentry/sentry-conventions#696), to match the Vercel AI rename to
`experimental_decide`.

Closes: #25252

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
ArthurKnaus added a commit to getsentry/sentry-docs that referenced this pull request Oct 13, 2026
Follows
[sentry-conventions#696](getsentry/sentry-conventions#696),
which deprecates `gen_ai.evaluate` in favor of `gen_ai.decide`. Renames
"evaluation spans" to "decision spans" and updates the span operation,
name, and `gen_ai.operation.name` values in all code snippets. The old
`evaluate` names stay documented as deprecated but still recognized,
since the product continues to support them.

- Manual instrumentation (JS + Python): "Decision Span" section,
`gen_ai.decide` op, `decide {model}` name, `gen_ai.operation.name:
"decide"`
- Shared attributes include: new `decide` values plus a deprecation note
(inner `type: "evaluation"` JSON field unchanged, matching the
convention)
- Conversations product doc: "Decision Spans" section, updated example,
`predicate` added to answer types, anchors updated to
`#decision-span(s)`
- php/laravel cross-link retargeted to `#decision-spans`
- Agents index: added `decisions` keyword
- Replaced the two span-detail screenshots with `gen_ai.decide` versions

Part of TET-3102

This branch was successfully deployed

1 active deployment
Preview — 755bd18a Deployed Oct 12, 2026 by vercel[bot]
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.

4 participants