Skip to content

fix(attributes): improve gen_ai.operation.name description#225

Merged
obostjancic merged 6 commits intomainfrom
ognjenbostjancic/tet-1769-update-sentry-conventions-for-gen_aioperationname
Jan 21, 2026
Merged

fix(attributes): improve gen_ai.operation.name description#225
obostjancic merged 6 commits intomainfrom
ognjenbostjancic/tet-1769-update-sentry-conventions-for-gen_aioperationname

Conversation

@obostjancic
Copy link
Member

@obostjancic obostjancic commented Jan 21, 2026

Description

Updates gen_ai.operation.name description listing the well known values.

PR Checklist

  • I have run yarn test and verified that the tests pass.
  • I have run yarn generate && yarn format 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 pii (i.e. maybe or true. Use false only for values that should never be scrubbed such as IDs)

If an attribute was deprecated:

@linear
Copy link

linear bot commented Jan 21, 2026

@obostjancic obostjancic requested review from a team, RulaKhaled and Copilot January 21, 2026 14:56
@obostjancic obostjancic marked this pull request as ready for review January 21, 2026 14:56

This comment was marked as duplicate.

obostjancic and others added 3 commits January 21, 2026 16:03
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@obostjancic obostjancic enabled auto-merge (squash) January 21, 2026 15:25
@obostjancic obostjancic merged commit f9f3c58 into main Jan 21, 2026
10 checks passed
@obostjancic obostjancic deleted the ognjenbostjancic/tet-1769-update-sentry-conventions-for-gen_aioperationname branch January 21, 2026 15:31
RulaKhaled added a commit to getsentry/sentry-javascript that referenced this pull request Jan 23, 2026
#18925)

AI integrations should follow OTel spec and report the
gen_ai.operation.name with the values listed in sentry conventions if
applies getsentry/sentry-conventions#225, this
PR renames gen_ai.operation so that if one of values applies, then that
value MUST be used.

Closes
https://linear.app/getsentry/issue/JS-1527/report-well-known-values-in-gen-aioperationname-attribute
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